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

Diff of /make/tests/scripts/features/parallelism

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

revision 1.5 by psmith, Tue May 3 13:57:21 2005 UTC revision 1.6 by psmith, Mon Aug 8 05:08:01 2005 UTC
# Line 83  all: first second Line 83  all: first second
83  first second: ; \@echo \$\@; $sleep_command 1; echo \$\@",  first second: ; \@echo \$\@; $sleep_command 1; echo \$\@",
84                '-j2', "first\nfirst\nsecond\nsecond");                '-j2', "first\nfirst\nsecond\nsecond");
85    
86    # Michael Matz <matz@suse.de> reported a bug where if make is running in
87    # parallel without -k and two jobs die in a row, but not too close to each
88    # other, then make will quit without waiting for the rest of the jobs to die.
89    
90    run_make_test("
91    .PHONY: all fail.1 fail.2 fail.3 ok
92    all: fail.1 ok fail.2 fail.3
93    
94    fail.1 fail.2 fail.3:
95            \@sleep \$(patsubst fail.%,%,\$\@)
96            \@echo Fail
97            \@exit 1
98    
99    ok:
100            \@sleep 4
101            \@echo Ok done",
102                  '-rR -j5', 'Fail
103    #MAKE#: *** [fail.1] Error 1
104    #MAKE#: *** Waiting for unfinished jobs....
105    Fail
106    #MAKE#: *** [fail.2] Error 1
107    Fail
108    #MAKE#: *** [fail.3] Error 1
109    Ok done',
110                 512);
111    
112    
113  1;  1;

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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