Many people who try out Rakudo want to inform us about hanging or failing "make spectest" - which is expected to fail until we implement all of Perl 6 that is currently tested.
Therefore I'd like to rename 'spectest_regression' to 'spectest', and provide a 'spectest_full' for running all tests. Attached patch does that, thoughts (and testing on various platforms) welcome. (To paraphrase Nicholas: "Works on my machine", ie on boring 32 bit Linux). The old "spectest_regression" remains as an alias. Should I also rename t/spectest_regression.data to t/spectest.data? -- Moritz Lenz http://perlgeek.de/ | http://perl-6.de/ | http://sudokugarden.de/
Index: README =================================================================== --- README (revision 31857) +++ README (working copy) @@ -45,10 +45,10 @@ to make sure that the Rakudo compiler is basically working and that it's capable of running a simple test harness. -Running "make spectest_regression" will import relevant portions +Running "make spectest" will import relevant portions of the "official Perl 6 test suite" from the Pugs repository -(http://svn.pugscode.org/pugs/t/spec/) and run all tests from -there. +(http://svn.pugscode.org/pugs/t/spec/) and run all of these tests that +are currently known to pass. At present we do not have any plans to directly store the official test suite as part of the Rakudo/Parrot repository, Index: config/makefiles/root.in =================================================================== --- config/makefiles/root.in (revision 31857) +++ config/makefiles/root.in (working copy) @@ -165,8 +165,9 @@ @echo " coretest: Run rakudo's core tests." @echo " codetest: Run Parrot's code tests." @echo " testclean: Clean up test results." - @echo " spectest: Run the official Perl 6 tests." - @echo " spectest_regression: Run the tests of the official test suite that are known to pass." + @echo " spectest: Run the tests of the official test suite that are known to pass." + @echo " spectest: Run the tests of the official test suite that are known to pass." + @echo " spectest_full: Run all tests of the official test suite" @echo " localtest: Run the official tests given in t/localtest.data." @echo " fulltest: Run coretest, spectest_regression, and codetest." @echo "" @@ -199,12 +200,13 @@ HARNESS_WITH_FUDGE = $(PERL) t/harness --fudge --keep-exit-code HARNESS_WITH_FUDGE_JOBS = $(HARNESS_WITH_FUDGE) --jobs -spectest: all t/spec +spectest_full: all t/spec -cd t/spec && svn up $(HARNESS_WITH_FUDGE_JOBS) t/spec # Run the spectests that we know work. -spectest_regression: all t/spec t/spectest_regression.data +spectest_regression: spectest +spectest: all t/spec t/spectest_regression.data -cd t/spec && svn up $(HARNESS_WITH_FUDGE_JOBS) --tests-from-file=t/spectest_regression.data