Skip to content

Commit 0c59bee

Browse files
committed
---
yaml --- r: 6309 b: refs/heads/master c: c997a35 h: refs/heads/master i: 6307: d73c283 v: v3
1 parent c6c028a commit 0c59bee

File tree

2 files changed

+20
-15
lines changed

2 files changed

+20
-15
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: 895822a61cef0fcf1e9207eb0993cf8be27133c4
2+
refs/heads/master: c997a353aa66aca3cdc9fbe2ce899061a662a095

trunk/mk/tests.mk

Lines changed: 19 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -184,56 +184,56 @@ CTEST_COMMON_ARGS$(1)-$(2) := --compile-lib-path $$(HOST_LIB$(1)) \
184184
--rustc-path $$(HOST_BIN$(1))/rustc$$(X) \
185185
--stage-id stage$(1)-$(2) \
186186
--rustcflags "$$(CFG_RUSTC_FLAGS) --target=$(2)" \
187-
$$(CTEST_TESTARGS) \
187+
$$(CTEST_TESTARGS)
188188

189189
CFAIL_ARGS$(1)-$(2) := $$(CTEST_COMMON_ARGS$(1)-$(2)) \
190190
--src-base $$(S)src/test/compile-fail/ \
191191
--build-base test/compile-fail/ \
192-
--mode compile-fail \
192+
--mode compile-fail
193193

194194
RFAIL_ARGS$(1)-$(2) := $$(CTEST_COMMON_ARGS$(1)-$(2)) \
195195
--src-base $$(S)src/test/run-fail/ \
196196
--build-base test/run-fail/ \
197197
--mode run-fail \
198-
$$(CTEST_RUNTOOL) \
198+
$$(CTEST_RUNTOOL)
199199

200200
RPASS_ARGS$(1)-$(2) := $$(CTEST_COMMON_ARGS$(1)-$(2)) \
201201
--src-base $$(S)src/test/run-pass/ \
202202
--build-base test/run-pass/ \
203203
--mode run-pass \
204-
$$(CTEST_RUNTOOL) \
204+
$$(CTEST_RUNTOOL)
205205

206206
BENCH_ARGS$(1)-$(2) := $$(CTEST_COMMON_ARGS$(1)-$(2)) \
207207
--src-base $$(S)src/test/bench/ \
208208
--build-base test/bench/ \
209209
--mode run-pass \
210-
$$(CTEST_RUNTOOL) \
210+
$$(CTEST_RUNTOOL)
211211

212212
PERF_ARGS$(1)-$(2) := $$(CTEST_COMMON_ARGS$(1)-$(2)) \
213213
--src-base $$(S)src/test/bench/ \
214214
--build-base test/perf/ \
215215
--mode run-pass \
216-
$$(CTEST_PERF_RUNTOOL) \
216+
$$(CTEST_PERF_RUNTOOL)
217217

218218
PRETTY_RPASS_ARGS$(1)-$(2) := $$(CTEST_COMMON_ARGS$(1)-$(2)) \
219219
--src-base $$(S)src/test/run-pass/ \
220220
--build-base test/run-pass/ \
221-
--mode pretty \
221+
--mode pretty
222222

223223
PRETTY_RFAIL_ARGS$(1)-$(2) := $$(CTEST_COMMON_ARGS$(1)-$(2)) \
224224
--src-base $$(S)src/test/run-fail/ \
225225
--build-base test/run-fail/ \
226-
--mode pretty \
226+
--mode pretty
227227

228228
PRETTY_BENCH_ARGS$(1)-$(2) := $$(CTEST_COMMON_ARGS$(1)-$(2)) \
229229
--src-base $$(S)src/test/bench/ \
230230
--build-base test/bench/ \
231-
--mode pretty \
231+
--mode pretty
232232

233233
PRETTY_PRETTY_ARGS$(1)-$(2) := $$(CTEST_COMMON_ARGS$(1)-$(2)) \
234234
--src-base $$(S)src/test/pretty/ \
235235
--build-base test/pretty/ \
236-
--mode pretty \
236+
--mode pretty
237237

238238
check-stage$(1)-$(2)-cfail-dummy: $$(HOST_BIN$(1))/compiletest$$(X) \
239239
$$(SREQ$(1)$$(CFG_HOST_TRIPLE)) \
@@ -299,10 +299,15 @@ $(foreach target,$(CFG_TARGET_TRIPLES), \
299299
$(eval $(call TEST_STAGEN,2,$(target))) \
300300
$(eval $(call TEST_STAGEN,3,$(target))))
301301

302-
check-stage0: check-stage0-$(CFG_HOST_TRIPLE)
303-
check-stage1: check-stage1-$(CFG_HOST_TRIPLE)
304-
check-stage2: check-stage2-$(CFG_HOST_TRIPLE)
305-
check-stage3: check-stage3-$(CFG_HOST_TRIPLE)
302+
# Make convenient Shorthand Targets for use on command
303+
# line or by other rules:
304+
check-stage0: check-stage0-$(CFG_HOST_TRIPLE)
305+
check-stage1: check-stage1-$(CFG_HOST_TRIPLE)
306+
check-stage2: check-stage2-$(CFG_HOST_TRIPLE)
307+
check-stage2-perf: check-stage2-$(CFG_HOST_TRIPLE)-perf
308+
check-stage2-rustc: check-stage2-$(CFG_HOST_TRIPLE)-rustc
309+
check-stage2-std: check-stage2-$(CFG_HOST_TRIPLE)-std
310+
check-stage3: check-stage3-$(CFG_HOST_TRIPLE)
306311

307312
######################################################################
308313
# Fast-test rules

0 commit comments

Comments
 (0)