aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-06-24 01:20:40 -0400
committerMike Frysinger <vapier@gentoo.org>2012-06-24 02:14:49 -0400
commit03069c9fb1e3a4147d66b2ea374d2e7fc62c81b0 (patch)
tree39b38fe1f8da661cec7f7262e1e22bb6f378e82d
parentlibsandbox: do not leak file handles from tracing checks (diff)
downloadsandbox-03069c9fb1e3a4147d66b2ea374d2e7fc62c81b0.tar.gz
sandbox-03069c9fb1e3a4147d66b2ea374d2e7fc62c81b0.tar.bz2
sandbox-03069c9fb1e3a4147d66b2ea374d2e7fc62c81b0.zip
tests: enable color/parallel by default
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r--tests/Makefile.am2
-rw-r--r--tests/testsuite.at1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/Makefile.am b/tests/Makefile.am
index 71c2872..6a05fe3 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -90,6 +90,8 @@ if HAVE_LIBSIGSEGV
libsigsegv_tst_LDADD = -lsigsegv
endif
+TESTSUITEFLAGS = --jobs=`getconf _NPROCESSORS_ONLN || echo 1`
+
check-local: atconfig atlocal $(TESTSUITE)
$(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='src:tests' $(TESTSUITEFLAGS)
diff --git a/tests/testsuite.at b/tests/testsuite.at
index f8af052..2fbe1dc 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -1,4 +1,5 @@
AT_INIT
+AT_COLOR_TESTS
m4_defun([sb_inc],[dnl
m4_defun([SB_SECTION],[$1])