File tree 2 files changed +9
-7
lines changed
2 files changed +9
-7
lines changed Original file line number Diff line number Diff line change @@ -904,6 +904,7 @@ $(3)/test/run-make/%-$(1)-T-$(2)-H-$(3).ok: \
904
904
@rm -rf $(3 ) /test/run-make/$$*
905
905
@mkdir -p $(3 ) /test/run-make/$$*
906
906
$$(Q )$$(CFG_PYTHON ) $(S ) src/etc/maketest.py $$(dir $$< ) \
907
+ $$(MAKE) \
907
908
$$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
908
909
$(3)/test/run-make/$$* \
909
910
"$$(CC_$(3)) $$(CFG_GCCISH_CFLAGS_$(3))" \
Original file line number Diff line number Diff line change 17
17
print 'ignoring make tests on windows'
18
18
sys .exit (0 )
19
19
20
- os .putenv ('RUSTC' , os .path .abspath (sys .argv [2 ]))
21
- os .putenv ('TMPDIR' , os .path .abspath (sys .argv [3 ]))
22
- os .putenv ('CC' , sys .argv [4 ])
23
- os .putenv ('RUSTDOC' , os .path .abspath (sys .argv [5 ]))
24
- filt = sys .argv [6 ]
25
- ldpath = sys .argv [7 ]
20
+ make = sys .argv [2 ]
21
+ os .putenv ('RUSTC' , os .path .abspath (sys .argv [3 ]))
22
+ os .putenv ('TMPDIR' , os .path .abspath (sys .argv [4 ]))
23
+ os .putenv ('CC' , sys .argv [5 ])
24
+ os .putenv ('RUSTDOC' , os .path .abspath (sys .argv [6 ]))
25
+ filt = sys .argv [7 ]
26
+ ldpath = sys .argv [8 ]
26
27
if ldpath != '' :
27
28
os .putenv (ldpath .split ('=' )[0 ], ldpath .split ('=' )[1 ])
28
29
29
30
if not filt in sys .argv [1 ]:
30
31
sys .exit (0 )
31
32
print ('maketest: ' + os .path .basename (os .path .dirname (sys .argv [1 ])))
32
33
33
- proc = subprocess .Popen ([' make' , '-C' , sys .argv [1 ]],
34
+ proc = subprocess .Popen ([make , '-C' , sys .argv [1 ]],
34
35
stdout = subprocess .PIPE ,
35
36
stderr = subprocess .PIPE )
36
37
out , err = proc .communicate ()
You can’t perform that action at this time.
0 commit comments