Skip to content

Commit 91a5aec

Browse files
committed
---
yaml --- r: 1767 b: refs/heads/master c: 0eb6be1 h: refs/heads/master i: 1765: 60a0f95 1763: 6ba144e 1759: 32b1047 v: v3
1 parent 6fca859 commit 91a5aec

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

[refs]

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
---
2-
refs/heads/master: 7941b41b6aad3af346cca5ab04754e45f62b69fe
2+
refs/heads/master: 0eb6be13fb141689e132bf1cd28fe4853498b9e7

trunk/Makefile.in

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,6 @@ else
182182
E = echo $(1)
183183
endif
184184

185-
R := $(CFG_RUN_TARG)
186-
T := $(CFG_RUN_TEST)
187185
S := $(CFG_SRC_DIR)
188186
X := $(CFG_EXE_SUFFIX)
189187

@@ -192,8 +190,10 @@ VPATH := $(S)doc $(S)src
192190

193191
# Compilers we build, we now know how to run.
194192
BOOT := $(Q)OCAMLRUNPARAM="b1" boot/rustboot$(X) $(CFG_BOOT_FLAGS) -L boot
195-
STAGE0 := $(Q)$(R) stage0/rustc$(X) $(CFG_RUSTC_FLAGS) -L stage0
196-
STAGE1 := $(Q)$(R) stage1/rustc$(X) $(CFG_RUSTC_FLAGS) -L stage1
193+
STAGE0 := $(Q)$(call CFG_RUN_TARG,\
194+
stage0/rustc$(X) $(CFG_RUSTC_FLAGS) -L stage0)
195+
STAGE1 := $(Q)$(call CFG_RUN_TARG,\
196+
stage1/rustc$(X) $(CFG_RUSTC_FLAGS) -L stage1)
197197

198198
# "Source" files we generate in builddir along the way.
199199
GENERATED := boot/fe/lexer.ml boot/version.ml
@@ -876,27 +876,27 @@ compile-check: tidy \
876876
test/run-pass/%.out.tmp: test/run-pass/%$(X) rt/$(CFG_RUNTIME)
877877
$(Q)rm -f $<.tmp
878878
@$(call E, run: $@)
879-
$(Q)$(call T, $<) > $@
879+
$(Q)$(call CFG_RUN_TEST, $<) > $@
880880

881881
test/bench/shootout/%.out.tmp: test/bench/shootout/%$(X) \
882882
rt/$(CFG_RUNTIME)
883883
$(Q)rm -f $<.tmp
884884
@$(call E, run: $@)
885-
$(Q)$(call T, $<) > $@
885+
$(Q)$(call CFG_RUN_TEST, $<) > $@
886886

887887
test/bench/99-bottles/%.out.tmp: test/bench/99-bottles/%$(X) \
888888
rt/$(CFG_RUNTIME)
889889
$(Q)rm -f $<.tmp
890890
@$(call E, run: $@)
891-
$(Q)$(call T, $<) > $@
891+
$(Q)$(call CFG_RUN_TEST, $<) > $@
892892

893893
test/run-fail/%.out.tmp: test/run-fail/%$(X) \
894894
rt/$(CFG_RUNTIME)
895895
$(Q)rm -f $<.tmp
896896
@$(call E, run: $@)
897897
$(Q)grep -q error-pattern $(S)src/test/run-fail/$(basename $*).rs
898898
$(Q)rm -f $@
899-
$(Q)$(call T, $<) >$@ 2>&1 ; X=$$? ; \
899+
$(Q)$(call CFG_RUN_TEST, $<) >$@ 2>&1 ; X=$$? ; \
900900
if [ $$X -eq 0 ] ; then exit 1 ; else exit 0 ; fi
901901
$(Q)grep --text --quiet \
902902
"$$(grep error-pattern $(S)src/test/run-fail/$(basename $*).rs \

0 commit comments

Comments
 (0)