Gentoo Archives: gentoo-commits

From: Mike Frysinger <vapier@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/sandbox:master commit in: tests/
Date: Sun, 24 Jun 2012 06:14:43
Message-Id: 1340518489.03069c9fb1e3a4147d66b2ea374d2e7fc62c81b0.vapier@gentoo
commit:     03069c9fb1e3a4147d66b2ea374d2e7fc62c81b0
Author:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
AuthorDate: Sun Jun 24 05:20:40 2012 +0000
Commit:     Mike Frysinger <vapier <AT> gentoo <DOT> org>
CommitDate: Sun Jun 24 06:14:49 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commit;h=03069c9f

tests: enable color/parallel by default

Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org>

---
 tests/Makefile.am  |    2 ++
 tests/testsuite.at |    1 +
 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])