cvsuser 02/09/03 21:17:50
Modified: config/gen/makefiles root.in
Log:
This patch gathers together different testing dependencies into a new
test_prep target, and then uses that target where appropriate. This
should reclaim the Solaris 32-bit JIT tinderbox -- it was failing
because the testj: target didn't have the proper libparrot.a dependency.
Whatever the final resolution of that dependency, this patch consolidates
the debate into one test_prep target.
Courtesy of Andy Dougherty
Revision Changes Path
1.34 +7 -4 parrot/config/gen/makefiles/root.in
Index: root.in
===================================================================
RCS file: /cvs/public/parrot/config/gen/makefiles/root.in,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -w -r1.33 -r1.34
--- root.in 4 Sep 2002 03:49:29 -0000 1.33
+++ root.in 4 Sep 2002 04:17:50 -0000 1.34
@@ -446,22 +446,25 @@
#
###############################################################################
-test : $(TEST_PROG) ${blib_lib_libparrot_a} assemble.pl test_dummy
+test : $(TEST_PROG) test_prep test_dummy
+
+# Common prep for all test targets
+test_prep : ${blib_lib_libparrot_a} assemble.pl
test_dummy :
$(PERL) t/harness $(TEST_PROG_ARGS)
-testp : $(TEST_PROG) assemble.pl blib/lib/libcore_prederef$(SO)
blib/lib/libparrot$(SO) $(TEST_PROG_SO) test_dummy_p
+testp : $(TEST_PROG) test_prep blib/lib/libcore_prederef$(SO)
blib/lib/libparrot$(SO) $(TEST_PROG_SO) test_dummy_p
test_dummy_p :
$(PERL) t/harness $(TEST_PROG_ARGS) -P
-testj : $(TEST_PROG) assemble.pl test_dummy_j
+testj : $(TEST_PROG) test_prep test_dummy_j
test_dummy_j :
$(PERL) t/harness $(TEST_PROG_ARGS) -j
-quicktest : $(TEST_PROG) assemble.pl quicktest_dummy
+quicktest : $(TEST_PROG) test_prep quicktest_dummy
quicktest_dummy :
$(PERL) t/harness $(TEST_PROG_ARGS) quick