[svn:parrot] r40512 - in trunk: config/gen/makefiles lib/Parrot/Harness
allison at svn.parrot.org
allison at svn.parrot.org
Thu Aug 13 03:24:32 UTC 2009
Author: allison
Date: Thu Aug 13 03:24:27 2009
New Revision: 40512
URL: https://trac.parrot.org/parrot/changeset/40512
Log:
[build] Alter 'coretest' target so it only builds and tests the core vm.
Add a 'corevm' target as a subset of the 'all' target that only builds
the core vm. The default build target is still 'all'.
Modified:
trunk/config/gen/makefiles/root.in
trunk/lib/Parrot/Harness/DefaultTests.pm
Modified: trunk/config/gen/makefiles/root.in
==============================================================================
--- trunk/config/gen/makefiles/root.in Thu Aug 13 03:16:27 2009 (r40511)
+++ trunk/config/gen/makefiles/root.in Thu Aug 13 03:24:27 2009 (r40512)
@@ -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: trunk/lib/Parrot/Harness/DefaultTests.pm
==============================================================================
--- trunk/lib/Parrot/Harness/DefaultTests.pm Thu Aug 13 03:16:27 2009 (r40511)
+++ trunk/lib/Parrot/Harness/DefaultTests.pm Thu Aug 13 03:24:27 2009 (r40512)
@@ -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