[svn:parrot] r40819 - in branches/pcc_arg_unify: config/gen/makefiles lib/Parrot/Harness

tene at svn.parrot.org tene at svn.parrot.org
Wed Aug 26 20:39:54 UTC 2009


Author: tene
Date: Wed Aug 26 20:39:51 2009
New Revision: 40819
URL: https://trac.parrot.org/parrot/changeset/40819

Log:
[pcc] Merge the corevm make target from trunk so that Coke++ can help.

Modified:
   branches/pcc_arg_unify/config/gen/makefiles/root.in
   branches/pcc_arg_unify/lib/Parrot/Harness/DefaultTests.pm

Modified: branches/pcc_arg_unify/config/gen/makefiles/root.in
==============================================================================
--- branches/pcc_arg_unify/config/gen/makefiles/root.in	Wed Aug 26 11:31:41 2009	(r40818)
+++ branches/pcc_arg_unify/config/gen/makefiles/root.in	Wed Aug 26 20:39:51 2009	(r40819)
@@ -585,17 +585,9 @@
 ###############################################################################
 
 all : \
-    flags_dummy \
-    PARROT_LIBS \
-    $(PARROT) \
-    runtime/parrot/include/parrotlib.pbc \
-    runtime/parrot/include/config.fpmc \
+    corevm \
     docs \
-    $(LIBNCI_TEST_SO) \
 #IF(has_glut):    $(LIBGLUTCB_SO) \
-    $(GEN_LIBRARY) \
-    dynpmc \
-    dynoplibs \
     compilers \
     $(DIS) \
     $(PARROT_CONFIG) \
@@ -604,6 +596,17 @@
     $(PDB) \
     $(PDUMP) \
 
+corevm : \
+    flags_dummy \
+    PARROT_LIBS \
+    $(PARROT) \
+    runtime/parrot/include/parrotlib.pbc \
+    runtime/parrot/include/config.fpmc \
+    $(LIBNCI_TEST_SO) \
+    $(GEN_LIBRARY) \
+    dynpmc \
+    dynoplibs \
+
 $(GEN_LIBRARY) : $(PARROT)
 
 # constant string support
@@ -1506,7 +1509,7 @@
 smoke : smolder_test
 
 # "core tests" -- test basic functionality but not ancillaries
-coretest : test_prep
+coretest : corevm
 	$(PERL) t/harness $(EXTRA_TEST_ARGS) --core-tests
 
 # automake compatibility

Modified: branches/pcc_arg_unify/lib/Parrot/Harness/DefaultTests.pm
==============================================================================
--- branches/pcc_arg_unify/lib/Parrot/Harness/DefaultTests.pm	Wed Aug 26 11:31:41 2009	(r40818)
+++ branches/pcc_arg_unify/lib/Parrot/Harness/DefaultTests.pm	Wed Aug 26 20:39:51 2009	(r40819)
@@ -10,10 +10,11 @@
 This file exports by default a single subroutine, C<get_default_tests()>,
 which is the list of tests run by F<t/harness> by default.
 
-Upon request, this package exports five arrays holding various sets of tests:
+Upon request, this package exports six arrays holding various sets of tests:
 
     @runcore_tests
     @core_tests
+    @library_tests
     @configure_tests
     @standard_tests
     @developing_tests
@@ -31,6 +32,7 @@
 our (
     @runcore_tests,
     @core_tests,
+    @library_tests,
     @configure_tests,
     @standard_tests,
     @developing_tests
@@ -40,6 +42,7 @@
 our @EXPORT_OK = qw(
     @runcore_tests
     @core_tests
+    @library_tests
     @configure_tests
     @standard_tests
     @developing_tests
@@ -54,12 +57,6 @@
     t/native_pbc/*.t
     t/dynpmc/*.t
     t/dynoplibs/*.t
-    t/compilers/pct/*.t
-    t/compilers/pge/*.t
-    t/compilers/pge/p5regex/*.t
-    t/compilers/pge/perl6regex/*.t
-    t/compilers/tge/*.t
-    t/library/*.t
 );
 
 # core tests are run unless --runcore-tests is present.  Typically
@@ -67,9 +64,18 @@
 @core_tests = qw(
     t/run/*.t
     t/src/*.t
-    t/tools/*.t
     t/perl/*.t
-    t/stm/*.t
+);
+
+# library tests are run unless --runcore-tests or --core-tests is present.
+ at library_tests = qw(
+    t/compilers/pct/*.t
+    t/compilers/pge/*.t
+    t/compilers/pge/p5regex/*.t
+    t/compilers/pge/perl6regex/*.t
+    t/compilers/tge/*.t
+    t/library/*.t
+    t/tools/*.t
 );
 
 # configure tests are tests to be run at the beginning of 'make test';
@@ -107,6 +113,7 @@
     unless ($runcore_tests_only) {
        push @default_tests, @core_tests;
        unless ($core_tests_only) {
+           push @default_tests, @library_tests;
            unshift @default_tests, @configure_tests;
        }
     }


More information about the parrot-commits mailing list