cvsuser     05/03/29 02:10:14

  Modified:    config/gen/makefiles root.in
  Log:
  Run the tests in t/perl/ in the targets 'test' and 'fulltest'.
  Added target 'perl_tests'.
  
  Revision  Changes    Path
  1.287     +13 -6     parrot/config/gen/makefiles/root.in
  
  Index: root.in
  ===================================================================
  RCS file: /cvs/public/parrot/config/gen/makefiles/root.in,v
  retrieving revision 1.286
  retrieving revision 1.287
  diff -u -r1.286 -r1.287
  --- root.in   19 Mar 2005 16:20:06 -0000      1.286
  +++ root.in   29 Mar 2005 10:10:14 -0000      1.287
  @@ -1,5 +1,5 @@
   # Copyright: 2001-2005 The Perl Foundation.  All Rights Reserved.
  -# $Id: root.in,v 1.286 2005/03/19 16:20:06 leo Exp $
  +# $Id: root.in,v 1.287 2005/03/29 10:10:14 bernhard Exp $
   
   
###############################################################################
   #
  @@ -554,6 +554,7 @@
        @echo "  test<core>:        Run the test suite with a specified core."
        @echo "                     Valid cores are b, C, f, g, j, r, S."
        @echo "  src_tests:         Run test in C-file."
  +     @echo "  perl_tests:        Test the Perl modules in the distribution."
        @echo "  testbench:         Run all benchmarks."
        @echo "  manitest:          Check for new files."
        @echo ""
  @@ -1025,7 +1026,7 @@
   
   dynclasses : dynclasses.dummy
   
  -dynclasses.dummy :
  +dynclasses.dummy : 
        $(MAKE_C) dynclasses
   
   dynclasses-test :
  @@ -1072,13 +1073,13 @@
   # The --running-make-test argument is currently used by long-running tests
   # to disable GC_DEBUG.
   EXTRA_TEST_ARGS = --gc-debug --running-make-test
  -IMCC_TEST_FILES = imcc/t/*/*.t
   SRC_TEST_FILES  = t/src/*.t
  +PERL_TEST_FILES = t/perl/*.t
   TEST_FILES      = t/library/*.t \
       t/op/*.t \
       t/pmc/*.t \
       t/native_pbc/*.t \
  -    $(IMCC_TEST_FILES) \
  +    imcc/t/*/*.t \
       t/dynclass/*.t
   
   # Common prep for all test targets.
  @@ -1089,12 +1090,13 @@
   # Users have to look at only one report.
   # Normal core
   test : test_prep
  -     $(PERL) t/harness $(EXTRA_TEST_ARGS) $(PARROT_ARGS) $(TEST_FILES) 
$(SRC_TEST_FILES)
  +     $(PERL) t/harness $(EXTRA_TEST_ARGS) $(PARROT_ARGS) $(TEST_FILES) 
$(SRC_TEST_FILES) $(PERL_TEST_FILES)
   
   # Test various run cores and other stuff
   # 'testC', 'testg' and 'testj' are tested only,
   # when the needed runcores are available
  -fulltest : testb \
  +fulltest : \
  +    testb \
   #CONDITIONED_LINE(cg_flag):    testC \
       testf \
   #CONDITIONED_LINE(cg_flag):    testg \
  @@ -1102,6 +1104,7 @@
       testr \
       testS \
       src_tests \
  +    perl_tests \
       testbench
   
   # bounds checking, slow core
  @@ -1140,6 +1143,10 @@
   src_tests :
        $(PERL) t/harness $(SRC_TEST_FILES)
   
  +# Test the Perl5 Modules in the Parrot distribution
  +perl_tests :
  +     $(PERL) t/harness $(PERL_TEST_FILES)
  +
   # all benchmarks
   testbench: test_prep
        $(PERL) t/harness t/benchmarks.t
  
  
  

Reply via email to