/[make]/make/tests/scripts/features/patternrules
ViewVC logotype

Diff of /make/tests/scripts/features/patternrules

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.3 by bosk, Thu Mar 10 09:14:09 2005 UTC revision 1.4 by bosk, Tue May 31 20:54:31 2005 UTC
# Line 95  $dir/foo.o"); Line 95  $dir/foo.o");
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;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26