Changeset 903 for trunk/src/gmakenew/tests
- Timestamp:
- May 23, 2007, 7:31:19 AM (18 years ago)
- Location:
- trunk/src/gmakenew/tests
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/gmakenew/tests/ChangeLog
r503 r903 1 2006-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 8 2006-09-30 Paul Smith <psmith@paulandlesley.org> 9 10 * scripts/variables/automatic: Add back the test for bug #8154. 11 1 12 2006-04-01 Paul D. Smith <psmith@gnu.org> 2 13 -
trunk/src/gmakenew/tests/run_make_tests.pl
r503 r903 191 191 sub print_usage 192 192 { 193 &print_standard_usage ("run_make_tests", "[-make_path make_pathname]"); 193 &print_standard_usage ("run_make_tests", 194 "[-make_path make_pathname] [-valgrind]",); 194 195 } 195 196 … … 229 230 local($index); 230 231 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 236 232 # find the type of the port. We do this up front to have a single 237 233 # point of change if it needs to be tweaked. -
trunk/src/gmakenew/tests/scripts/features/patternrules
r503 r903 11 11 12 12 13 # TEST #1: Make sure that multiple patterns where the same target14 # 15 # 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. 16 16 # 17 17 … … 46 46 ''); 47 47 48 # TEST # 2: make sure files that are built via implicit rules are marked48 # TEST #1: make sure files that are built via implicit rules are marked 49 49 # as targets (Savannah bug #12202). 50 50 # … … 70 70 71 71 72 # TEST # 3: make sure intermidite files that also happened to be72 # TEST #2: make sure intermediate files that also happened to be 73 73 # prerequisites are not removed (Savannah bug #12267). 74 74 # … … 97 97 98 98 99 # TEST # 4: make sure precious flag is set properly for targets99 # TEST #3: make sure precious flag is set properly for targets 100 100 # that are built via implicit rules (Savannah bug #13218). 101 101 # … … 117 117 118 118 119 # TEST # 5: make sure targets of a macthed implicit pattern rule never119 # TEST #4: make sure targets of a matched implicit pattern rule are 120 120 # never considered intermediate (Savannah bug #13022). 121 121 # -
trunk/src/gmakenew/tests/scripts/variables/automatic
r503 r903 96 96 # considered reasons for the target to be rebuilt. 97 97 # 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. 100 99 101 #touch('foo');102 # 103 #run_make_test('104 #foo: bar ; @echo "\$$? = $?"105 #bar: ;',106 #'',107 #'$? = bar');108 # 109 #unlink('foo');100 touch('foo'); 101 102 run_make_test(' 103 foo: bar ; @echo "\$$? = $?" 104 bar: ;', 105 '', 106 '$? = bar'); 107 108 unlink('foo'); 110 109 111 110 1; -
trunk/src/gmakenew/tests/test_driver.pl
r503 r903 29 29 # variables and then calls &toplevel, which does all the real work. 30 30 31 # $Id: test_driver.pl,v 1. 19 2006/03/10 02:20:45psmith Exp $31 # $Id: test_driver.pl,v 1.21 2007/03/20 03:02:26 psmith Exp $ 32 32 33 33 … … 79 79 { 80 80 # Pull in benign variables from the user's environment 81 # 81 82 82 foreach (# UNIX-specific things 83 'TZ', ' LANG', 'TMPDIR', 'HOME', 'USER', 'LOGNAME', 'PATH',83 'TZ', 'TMPDIR', 'HOME', 'USER', 'LOGNAME', 'PATH', 84 84 # Purify things 85 85 'PURIFYOPTIONS', … … 92 92 $makeENV{$_} = $ENV{$_} if $ENV{$_}; 93 93 } 94 95 # Make sure our compares are not foiled by locale differences 96 97 $makeENV{LC_ALL} = 'C'; 94 98 95 99 # Replace the environment with the new one … … 544 548 local($line); 545 549 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"; 552 554 } 553 555 }
Note:
See TracChangeset
for help on using the changeset viewer.