95 |
|
|
96 |
unlink("$dir/foo.c"); |
unlink("$dir/foo.c"); |
97 |
|
|
98 |
|
|
99 |
|
# TEST #4: make sure precious flag is set properly for targets |
100 |
|
# that are built via implicit rules (Savannah bug #13218). |
101 |
|
# |
102 |
|
run_make_test(' |
103 |
|
.DELETE_ON_ERROR: |
104 |
|
|
105 |
|
.PRECIOUS: %.bar |
106 |
|
|
107 |
|
%.bar:; @touch $@ && false |
108 |
|
|
109 |
|
$(dir)/foo.bar: |
110 |
|
|
111 |
|
', |
112 |
|
"dir=$dir", |
113 |
|
"make: *** [$dir/foo.bar] Error 1", |
114 |
|
512); |
115 |
|
|
116 |
|
unlink("$dir/foo.bar"); |
117 |
|
|
118 |
# This tells the test driver that the perl test script executed properly. |
# This tells the test driver that the perl test script executed properly. |
119 |
1; |
1; |