Changeset 2591 in kBuild for trunk/src/kmk/tests/scripts/features/include
- Timestamp:
- Jun 17, 2012 8:45:31 PM (13 years ago)
- Location:
- trunk/src/kmk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kmk
- Property svn:ignore
-
old new 13 13 stamp-* 14 14 makebook* 15 15 16 .*gdbinit 17 .gdb_history 18 16 19 *.dep 17 20 *.dvi … … 31 34 *.pg 32 35 *.pgs 36 33 37 README 34 38 README.DOS 35 39 README.W32 40 README.OS2 36 41 aclocal.m4 37 42 autom4te.cache … … 52 57 config.h.W32 53 58 config.h-vms 59 54 60 loadavg 55 61 loadavg.c 56 62 make 63 57 64 .deps 58 65 .dep_segment 66 ID 67 TAGS 68 59 69 _* 60 70 sun4 … … 72 82 sol2 73 83 i486-linux 84 74 85 customs 86 75 87 install-sh 76 88 mkinstalldirs 89 90 .directive.asc
-
- Property svn:ignore
-
trunk/src/kmk/tests
- Property svn:ignore
--- +++
- Property svn:ignore
-
trunk/src/kmk/tests/scripts/features/include
r969 r2591 91 91 ', '', ''); 92 92 93 1;94 95 93 96 94 # Make sure that we don't die when the command fails but we dontcare. … … 118 116 sinclude', '', ''); 119 117 118 119 # Test that the diagnostics is issued even if the target has been 120 # tried before with the dontcare flag (direct dependency case). 121 # 122 run_make_test(' 123 -include foo 124 125 all: bar 126 127 foo: baz 128 bar: baz 129 ', 130 '', 131 "#MAKE#: *** No rule to make target `baz', needed by `bar'. Stop.\n", 132 512); 133 134 # Test that the diagnostics is issued even if the target has been 135 # tried before with the dontcare flag (indirect dependency case). 136 # 137 run_make_test(' 138 -include foo 139 140 all: bar 141 142 foo: baz 143 bar: baz 144 baz: end 145 ', 146 '', 147 "#MAKE#: *** No rule to make target `end', needed by `baz'. Stop.\n", 148 512); 149 150 # Test that the diagnostics is issued even if the target has been 151 # tried before with the dontcare flag (include/-include case). 152 # 153 run_make_test(' 154 include bar 155 -include foo 156 157 all: 158 159 foo: baz 160 bar: baz 161 baz: end 162 ', 163 '', 164 "#MAKEFILE#:2: bar: No such file or directory 165 #MAKE#: *** No rule to make target `end', needed by `baz'. Stop.\n", 166 512); 167 168 if ($all_tests) { 169 # Test that include of a rebuild-able file doesn't show a warning 170 # Savannah bug #102 171 run_make_test(q! 172 include foo 173 foo: ; @echo foo = bar > $@ 174 !, 175 '', "#MAKE#: `foo' is up to date.\n"); 176 rmfiles('foo'); 177 } 178 120 179 1;
Note:
See TracChangeset
for help on using the changeset viewer.