develooper Front page | perl.cvs.parrot | Postings from January 2009

[svn:parrot] r35144 - trunk/languages/perl6/config/makefiles

From:
particle
Date:
January 7, 2009 09:38
Subject:
[svn:parrot] r35144 - trunk/languages/perl6/config/makefiles
Message ID:
20090107173843.3B858CB9F9@x12.develooper.com
Author: particle
Date: Wed Jan  7 09:38:42 2009
New Revision: 35144

Modified:
   trunk/languages/perl6/config/makefiles/root.in

Log:
[rakudo] add 'testable' make target to create perl6 executable, compile the test library, and update the official test suite

Modified: trunk/languages/perl6/config/makefiles/root.in
==============================================================================
--- trunk/languages/perl6/config/makefiles/root.in	(original)
+++ trunk/languages/perl6/config/makefiles/root.in	Wed Jan  7 09:38:42 2009
@@ -175,6 +175,8 @@
 	@echo "  xmas:              Christmas is when Perl 6 is released. Alias of perl6$(EXE)."
 	@echo "  spectest_checkout  Performs svn checkout of official test suite."
 	@echo "  spectest_update    Performs svn update of official test suite."
+	@echo "  testable:          Create the perl6 executable, compile the Test library,"
+	@echo "                     and update official test suite."
 	@echo ""
 	@echo "Testing:"
 	@echo "  test:              Run coretest and codetest."
@@ -202,7 +204,10 @@
 spectest_update :
 	-cd t/spec && svn up
 
+testable : all Test.pir spectest_checkout spectest_update
 
+
+# test targets
 test    : coretest
 
 coretest: all
@@ -220,12 +225,12 @@
 HARNESS_WITH_FUDGE = $(PERL) t/harness --fudge --keep-exit-code
 HARNESS_WITH_FUDGE_JOBS = $(HARNESS_WITH_FUDGE) --jobs
 
-spectest_full: all Test.pir spectest_checkout spectest_update
+spectest_full: testable
 	$(HARNESS_WITH_FUDGE_JOBS) t/spec
 
 # Run the spectests that we know work.
 spectest_regression: spectest
-spectest: all Test.pir spectest_checkout spectest_update t/spectest.data
+spectest: testable t/spectest.data
 	$(HARNESS_WITH_FUDGE_JOBS) --tests-from-file=t/spectest.data
 
 fulltest: coretest spectest codetest



nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About