Changeset 280 in kBuild for branches/GNU/src/gmake/tests/scripts/features/errors
- Timestamp:
- May 16, 2005 4:54:02 PM (19 years ago)
- Location:
- branches/GNU/src/gmake
- Files:
-
- 2 edited
-
. (modified) (1 prop)
-
tests/scripts/features/errors (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/GNU/src/gmake
- Property svn:ignore
-
old new 34 34 README.DOS 35 35 README.W32 36 README.OS2 36 37 aclocal.m4 37 38 autom4te.cache
-
- Property svn:ignore
-
branches/GNU/src/gmake/tests/scripts/features/errors
r53 r280 53 53 &run_make_with_options($makefile,"",&get_logfile); 54 54 55 # If make acted as planned, it should ignore the error from the first 56 # command in the target and execute the second which deletes the file "foo" 57 # This file, therefore, should not exist if the test PASSES. 58 if (-f "foo") { 59 $test_passed = 0; 60 } 61 55 62 # The output for this on VOS is too hard to replicate, so we only check it 56 63 # on unix. … … 58 65 { 59 66 &compare_output($answer,&get_logfile(1)); 60 }61 62 # If make acted as planned, it should ignore the error from the first63 # command in the target and execute the second which deletes the file "foo"64 # This file, therefore, should not exist if the test PASSES.65 if (-f "foo")66 {67 $test_passed = 0;68 67 } 69 68 … … 81 80 &run_make_with_options($makefile,"clean2 -i",&get_logfile); 82 81 83 if (!$vos) 84 { 82 if (-f "foo") { 83 $test_passed = 0; 84 } 85 86 if (!$vos) { 85 87 &compare_output($answer,&get_logfile(1)); 86 88 } 87 89 88 if (-f "foo")89 {90 $test_passed = 0;91 }92 93 90 1;
Note:
See TracChangeset
for help on using the changeset viewer.

