Ignore:
Timestamp:
May 23, 2007, 7:31:19 AM (18 years ago)
Author:
bird
Message:

Merged with the 2007-05-23 CVS. Added rsort and fixed a couple of windows build issues.

Location:
trunk/src/gmakenew/tests
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/gmakenew/tests/ChangeLog

    r503 r903  
     12006-10-01  Paul Smith  <psmith@paulandlesley.org>
     2
     3        * run_make_tests.pl (set_more_defaults): Remove setting of LANG in
     4        ENV here.  This doesn't always work.
     5        * test_driver.pl (toplevel): Set LC_ALL to 'C' in the make
     6        environment.  Fixes Savannah bug #16698.
     7
     82006-09-30  Paul Smith  <psmith@paulandlesley.org>
     9
     10        * scripts/variables/automatic: Add back the test for bug #8154.
     11
    1122006-04-01  Paul D. Smith  <psmith@gnu.org>
    213
  • trunk/src/gmakenew/tests/run_make_tests.pl

    r503 r903  
    191191sub print_usage
    192192{
    193    &print_standard_usage ("run_make_tests", "[-make_path make_pathname]");
     193   &print_standard_usage ("run_make_tests",
     194                          "[-make_path make_pathname] [-valgrind]",);
    194195}
    195196
     
    229230   local($index);
    230231
    231    # Make sure we're in the C locale for those systems that support it,
    232    # so sorting, etc. is predictable.
    233    #
    234    $ENV{LANG} = 'C';
    235 
    236232   # find the type of the port.  We do this up front to have a single
    237233   # point of change if it needs to be tweaked.
  • trunk/src/gmakenew/tests/scripts/features/patternrules

    r503 r903  
    1111
    1212
    13 #  TEST #1: Make sure that multiple patterns where the same target
    14 #           can be built are searched even if the first one fails
    15 #           to match properly.
     13# TEST #0: Make sure that multiple patterns where the same target
     14#          can be built are searched even if the first one fails
     15#          to match properly.
    1616#
    1717
     
    4646'');
    4747
    48 # TEST #2: make sure files that are built via implicit rules are marked
     48# TEST #1: make sure files that are built via implicit rules are marked
    4949#          as targets (Savannah bug #12202).
    5050#
     
    7070
    7171
    72 # TEST #3: make sure intermidite files that also happened to be
     72# TEST #2: make sure intermediate files that also happened to be
    7373#          prerequisites are not removed (Savannah bug #12267).
    7474#
     
    9797
    9898
    99 # TEST #4: make sure precious flag is set properly for targets
     99# TEST #3: make sure precious flag is set properly for targets
    100100#          that are built via implicit rules (Savannah bug #13218).
    101101#
     
    117117
    118118
    119 # TEST #5: make sure targets of a macthed implicit pattern rule never
     119# TEST #4: make sure targets of a matched implicit pattern rule are
    120120#          never considered intermediate (Savannah bug #13022).
    121121#
  • trunk/src/gmakenew/tests/scripts/variables/automatic

    r503 r903  
    9696# considered reasons for the target to be rebuilt.
    9797#
    98 # This was undone due to Savannah bug #16002.  We'll re-do it in the next
    99 # release.  See Savannah bug #16051.
     98# See also Savannah bugs #16002 and #16051.
    10099
    101 #touch('foo');
    102 #
    103 #run_make_test('
    104 #foo: bar ; @echo "\$$? = $?"
    105 #bar: ;',
    106 #              '',
    107 #              '$? = bar');
    108 #
    109 #unlink('foo');
     100touch('foo');
     101
     102run_make_test('
     103foo: bar ; @echo "\$$? = $?"
     104bar: ;',
     105              '',
     106              '$? = bar');
     107
     108unlink('foo');
    110109
    1111101;
  • trunk/src/gmakenew/tests/test_driver.pl

    r503 r903  
    2929# variables and then calls &toplevel, which does all the real work.
    3030
    31 # $Id: test_driver.pl,v 1.19 2006/03/10 02:20:45 psmith Exp $
     31# $Id: test_driver.pl,v 1.21 2007/03/20 03:02:26 psmith Exp $
    3232
    3333
     
    7979{
    8080  # Pull in benign variables from the user's environment
    81   #
     81
    8282  foreach (# UNIX-specific things
    83            'TZ', 'LANG', 'TMPDIR', 'HOME', 'USER', 'LOGNAME', 'PATH',
     83           'TZ', 'TMPDIR', 'HOME', 'USER', 'LOGNAME', 'PATH',
    8484           # Purify things
    8585           'PURIFYOPTIONS',
     
    9292    $makeENV{$_} = $ENV{$_} if $ENV{$_};
    9393  }
     94
     95  # Make sure our compares are not foiled by locale differences
     96
     97  $makeENV{LC_ALL} = 'C';
    9498
    9599  # Replace the environment with the new one
     
    544548  local($line);
    545549
    546   print "Usage:  perl $plname [testname] [-verbose] [-detail] [-keep]\n";
    547   print "                               [-profile] [-usage] [-help] "
    548       . "[-debug]\n";
    549   foreach $line (@moreusage)
    550   {
    551     print "                               $line\n";
     550  print "usage:\t$plname [testname] [-verbose] [-detail] [-keep]\n";
     551  print "\t\t\t[-profile] [-usage] [-help] [-debug]\n";
     552  foreach (@moreusage) {
     553    print "\t\t\t$_\n";
    552554  }
    553555}
Note: See TracChangeset for help on using the changeset viewer.