Changeset 1973 in kBuild for trunk/src/kmk/tests
- Timestamp:
- Oct 26, 2008 10:47:16 PM (16 years ago)
- Location:
- trunk/src/kmk/tests
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk/tests/run_make_tests.pl
r1970 r1973 145 145 if ($options) { 146 146 $command .= " $options"; 147 } elsif ($is_kmk) {148 # $command .= " -j1";149 147 } 150 148 -
trunk/src/kmk/tests/scripts/targets/INTERMEDIATE
r1966 r1973 56 56 57 57 # TEST #3 58 # kmk : differs because of different hashing.58 # kmk+fast: differs because of different hashing. 59 59 60 60 &run_make_with_options($makefile,'foo.c',&get_logfile); 61 61 $answer = "cp foo.f foo.e\ncp bar.f bar.e\ncat foo.e bar.e > foo.c\n" 62 . (!$is_kmk ? "rm bar.e foo.e\n" : "rm foo.e bar.e\n");62 . (!$is_kmk && !$is_fast ? "rm bar.e foo.e\n" : "rm foo.e bar.e\n"); 63 63 &compare_output($answer, &get_logfile(1)); 64 64 … … 70 70 71 71 # TEST #5 72 # kmk : differs because of different hashing.72 # kmk+fast: differs because of different hashing. 73 73 74 74 &utouch(-10, 'foo.c'); … … 77 77 &run_make_with_options($makefile,'foo.c',&get_logfile); 78 78 $answer = "cp foo.f foo.e\ncp bar.f bar.e\ncat foo.e bar.e > foo.c\n" 79 . (!$is_kmk ? "rm bar.e foo.e\n" : "rm foo.e bar.e\n");79 . (!$is_kmk && !$is_fast ? "rm bar.e foo.e\n" : "rm foo.e bar.e\n"); 80 80 &compare_output($answer, &get_logfile(1)); 81 81 -
trunk/src/kmk/tests/test_driver.pl
r1953 r1973 118 118 $cwdslash = ""; # $cwd . $pathsep, but "" rather than "./" 119 119 $is_kmk = 0; # kmk flag. 120 $is_fast = 0; # kmk_fgmake flag. 120 121 121 122 &get_osname; # sets $osname, $vos, $pathsep, $short_filenames, … … 356 357 { 357 358 $is_kmk = 1; 359 } 360 elsif ($option =~ /^-fast/i) 361 { 362 $is_fast = 1; 358 363 } 359 364 elsif (&valid_option($option))
Note:
See TracChangeset
for help on using the changeset viewer.