Skip to content

Commit 3ed2953

Browse files
brsonalexcrichton
authored andcommitted
---
yaml --- r: 110005 b: refs/heads/master c: 0e85e59 h: refs/heads/master i: 110003: 9a6c4bd v: v3
1 parent a0444c1 commit 3ed2953

File tree

3 files changed

+10
-8
lines changed

3 files changed

+10
-8
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
refs/heads/master: a6173e19d01ec63741334625a98ecca52a289756
2+
refs/heads/master: 0e85e599dbcd08e2a0c0e1bfa3cf23ed4eb68197
33
refs/heads/snap-stage1: e33de59e47c5076a89eadeb38f4934f58a3618a6
44
refs/heads/snap-stage3: c7fac4471201977fdb1c0c0a26c87287e12dc644
55
refs/heads/try: f64fdf524a434f0e5cd0bc91d09c144723f3c90d

trunk/mk/tests.mk

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,7 @@ $(3)/test/run-make/%-$(1)-T-$(2)-H-$(3).ok: \
904904
@rm -rf $(3)/test/run-make/$$*
905905
@mkdir -p $(3)/test/run-make/$$*
906906
$$(Q)$$(CFG_PYTHON) $(S)src/etc/maketest.py $$(dir $$<) \
907+
$$(MAKE) \
907908
$$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
908909
$(3)/test/run-make/$$* \
909910
"$$(CC_$(3)) $$(CFG_GCCISH_CFLAGS_$(3))" \

trunk/src/etc/maketest.py

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,20 +17,21 @@
1717
print 'ignoring make tests on windows'
1818
sys.exit(0)
1919

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]
2627
if ldpath != '':
2728
os.putenv(ldpath.split('=')[0], ldpath.split('=')[1])
2829

2930
if not filt in sys.argv[1]:
3031
sys.exit(0)
3132
print('maketest: ' + os.path.basename(os.path.dirname(sys.argv[1])))
3233

33-
proc = subprocess.Popen(['make', '-C', sys.argv[1]],
34+
proc = subprocess.Popen([make, '-C', sys.argv[1]],
3435
stdout = subprocess.PIPE,
3536
stderr = subprocess.PIPE)
3637
out, err = proc.communicate()

0 commit comments

Comments
 (0)