Author: jkeenan
Date: Tue Feb 12 18:54:36 2008
New Revision: 25679

Modified:
   branches/tcif/config/gen/makefiles/root.in
   branches/tcif/t/harness

Log:
1. t/harness:  Pull pre- and post-configuration tests out of @default
tests.  (Somewhere, chromatic is smiling!)
2. config/gen/makefiles/root.in:  (a) Eliminate 'configure_tests' make
target.  These tests should be run pre-configuration (with perl
Configure.pl --test).  It's illogical to run them with t/harness, which
is not available until configuration has completed.  (b) Add
'postconfigure_tests' make target  These can be run with t/harness.


Modified: branches/tcif/config/gen/makefiles/root.in
==============================================================================
--- branches/tcif/config/gen/makefiles/root.in  (original)
+++ branches/tcif/config/gen/makefiles/root.in  Tue Feb 12 18:54:36 2008
@@ -1408,6 +1408,8 @@
 CONFIGURE_TEST_FILES = \
     t/configure/*.t \
        t/steps/*.t
+POSTCONFIGURE_TEST_FILES = \
+    t/postconfigure/*.t
 
 # Common prep for all test targets.
 # We probably need a complete build before running the tests.
@@ -1529,9 +1531,9 @@
 distro_tests : test_prep
        $(PERL) t/harness $(DISTRO_TEST_FILES)
 
-# configure tests
-configure_tests :
-       $(PERL) t/harness $(CONFIGURE_TEST_FILES)
+# post-configuration tests
+postconfigure_tests :
+       $(PERL) t/harness $(POSTCONFIGURE_TEST_FILES)
 
 ###############################################################################
 #

Modified: branches/tcif/t/harness
==============================================================================
--- branches/tcif/t/harness     (original)
+++ branches/tcif/t/harness     Tue Feb 12 18:54:36 2008
@@ -184,7 +184,6 @@
 # configure tests are tests to be run at the beginning of 'make test';
 # standard tests are other tests run by default with no core options
 # present
-my @configure_tests = qw( t/configure/*.t t/steps/*.t t/postconfigure/*.t );
 my @standard_tests = qw(
     t/compilers/json/*.t
     t/examples/*.t
@@ -220,7 +219,6 @@
 unless ($runcore_tests_only) {
    push @default_tests, @core_tests;
    unless ($core_tests_only) {
-       unshift @default_tests, @configure_tests;
        push @default_tests, @standard_tests;
    }
 }

Reply via email to