Lines 140-173
pre = .WAIT pre1 .WAIT pre2 | .WAIT pre3
Link Here
|
140 |
!, |
140 |
!, |
141 |
'-j10', "start-pre1\nend-pre1\npre2\npre3\n"); |
141 |
'-j10', "start-pre1\nend-pre1\npre2\npre3\n"); |
142 |
|
142 |
|
143 |
# Verify NOTPARALLEL works |
|
|
144 |
|
145 |
run_make_test(q! |
146 |
all : pre1 pre2 |
147 |
pre1: ; @#HELPER# -q out start-$@ sleep 1 out end-$@ |
148 |
pre2: ; @#HELPER# -q out $@ |
149 |
|
150 |
.NOTPARALLEL: |
151 |
!, |
152 |
'-j10', "start-pre1\nend-pre1\npre2\n"); |
153 |
|
154 |
run_make_test(q! |
155 |
all : p1 .WAIT np1 |
156 |
|
157 |
p1: pre1 pre2 |
158 |
pre1: ; @#HELPER# -q out start-$@ file PRE1 wait PRE2 out end-$@ |
159 |
pre2: ; @#HELPER# -q wait PRE1 out $@ file PRE2 |
160 |
|
161 |
|
162 |
np1: npre1 npre2 |
163 |
npre1: ; @#HELPER# -q out start-$@ sleep 1 out end-$@ |
164 |
npre2: ; @#HELPER# -q out $@ |
165 |
|
166 |
.NOTPARALLEL: np1 |
167 |
!, |
168 |
'-j10', "start-pre1\npre2\nend-pre1\nstart-npre1\nend-npre1\nnpre2\n"); |
169 |
unlink(qw(PRE1 PRE2)); |
170 |
|
171 |
# Ensure we don't shuffle if .WAIT is set |
143 |
# Ensure we don't shuffle if .WAIT is set |
172 |
|
144 |
|
173 |
run_make_test(q! |
145 |
run_make_test(q! |
174 |
- |
|
|