1 |
commit: 03069c9fb1e3a4147d66b2ea374d2e7fc62c81b0 |
2 |
Author: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 24 05:20:40 2012 +0000 |
4 |
Commit: Mike Frysinger <vapier <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 24 06:14:49 2012 +0000 |
6 |
URL: http://git.overlays.gentoo.org/gitweb/?p=proj/sandbox.git;a=commit;h=03069c9f |
7 |
|
8 |
tests: enable color/parallel by default |
9 |
|
10 |
Signed-off-by: Mike Frysinger <vapier <AT> gentoo.org> |
11 |
|
12 |
--- |
13 |
tests/Makefile.am | 2 ++ |
14 |
tests/testsuite.at | 1 + |
15 |
2 files changed, 3 insertions(+), 0 deletions(-) |
16 |
|
17 |
diff --git a/tests/Makefile.am b/tests/Makefile.am |
18 |
index 71c2872..6a05fe3 100644 |
19 |
--- a/tests/Makefile.am |
20 |
+++ b/tests/Makefile.am |
21 |
@@ -90,6 +90,8 @@ if HAVE_LIBSIGSEGV |
22 |
libsigsegv_tst_LDADD = -lsigsegv |
23 |
endif |
24 |
|
25 |
+TESTSUITEFLAGS = --jobs=`getconf _NPROCESSORS_ONLN || echo 1` |
26 |
+ |
27 |
check-local: atconfig atlocal $(TESTSUITE) |
28 |
$(SHELL) '$(TESTSUITE)' AUTOTEST_PATH='src:tests' $(TESTSUITEFLAGS) |
29 |
|
30 |
|
31 |
diff --git a/tests/testsuite.at b/tests/testsuite.at |
32 |
index f8af052..2fbe1dc 100644 |
33 |
--- a/tests/testsuite.at |
34 |
+++ b/tests/testsuite.at |
35 |
@@ -1,4 +1,5 @@ |
36 |
AT_INIT |
37 |
+AT_COLOR_TESTS |
38 |
|
39 |
m4_defun([sb_inc],[dnl |
40 |
m4_defun([SB_SECTION],[$1]) |