25491455 running "make test" won't include the 3.4 tests if a 2.7 test fails
authorMichael Raskey <michael.raskey@oracle.com>
Wed, 08 Feb 2017 14:16:02 -0700
changeset 3513 9113cf4f5693
parent 3512 dd359b6d6400
child 3514 720fe1982e77
25491455 running "make test" won't include the 3.4 tests if a 2.7 test fails
src/Makefile
--- a/src/Makefile	Wed Feb 08 14:16:02 2017 -0700
+++ b/src/Makefile	Wed Feb 08 14:16:02 2017 -0700
@@ -20,7 +20,7 @@
 #
 
 #
-# Copyright (c) 2007, 2016, Oracle and/or its affiliates. All rights reserved.
+# Copyright (c) 2007, 2017, Oracle and/or its affiliates. All rights reserved.
 #
 
 PYTHON27 = /usr/bin/python2.7
@@ -99,10 +99,15 @@
 	@cd pkg; pwd; $(MAKE) $(TARGET) check \
 		PATH=$$(hg root)/proto/root_$$(uname -p)/usr/bin:$$PATH
 
-test:
+test-27:
 	$(PYTHON27) tests/run.py -j ${JOBS} -v
+
+test-34:
 	$(PYTHON34) tests/run.py -j ${JOBS} -v
 
+test:
+	$(MAKE) -k test-27 test-34 JOBS=${JOBS}
+
 test-verbose:
 	$(PYTHON27) setup.py test -v