@@ -34,12 +34,12 @@ ifdef CHECK_XFAILS
34
34
TESTARGS += --ignored
35
35
endif
36
36
37
- CTEST_BENCH = --bench
37
+ TEST_BENCH = --bench
38
38
39
39
# Arguments to the cfail/rfail/rpass/bench tests
40
40
ifdef CFG_VALGRIND
41
41
CTEST_RUNTOOL = --runtool "$(CFG_VALGRIND ) "
42
- CTEST_BENCH =
42
+ TEST_BENCH =
43
43
endif
44
44
45
45
# Arguments to the perf tests
@@ -69,12 +69,12 @@ TEST_RATCHET_NOISE_PERCENT=10.0
69
69
# Whether to ratchet or merely save benchmarks
70
70
ifdef CFG_RATCHET_BENCH
71
71
CRATE_TEST_BENCH_ARGS =\
72
- --test $(CTEST_BENCH ) \
72
+ --test $(TEST_BENCH ) \
73
73
--ratchet-metrics $(call TEST_RATCHET_FILE,$(1 ) ,$(2 ) ,$(3 ) ,$(4 ) ) \
74
74
--ratchet-noise-percent $(TEST_RATCHET_NOISE_PERCENT )
75
75
else
76
76
CRATE_TEST_BENCH_ARGS =\
77
- --test $(CTEST_BENCH ) \
77
+ --test $(TEST_BENCH ) \
78
78
--save-metrics $(call TEST_RATCHET_FILE,$(1 ) ,$(2 ) ,$(3 ) ,$(4 ) )
79
79
endif
80
80
@@ -312,26 +312,28 @@ define TEST_RUNNER
312
312
# If NO_REBUILD is set then break the dependencies on extra so we can
313
313
# test crates without rebuilding std and extra first
314
314
ifeq ($(NO_REBUILD ) ,)
315
- STDTESTDEP_$(1)_$(2)_$(3) = $$(SREQ$(1 ) _T_$(2 ) _H_$(3 ) ) \
316
- $$(TLIB$(1 ) _T_$(2 ) _H_$(3 ) ) /$$(CFG_EXTRALIB_$(2 ) )
315
+ STDTESTDEP_$(1)_$(2)_$(3) = $$(TLIB$(1 ) _T_$(2 ) _H_$(3 ) ) /$$(CFG_EXTRALIB_$(2 ) )
317
316
else
318
317
STDTESTDEP_$(1)_$(2)_$(3) =
319
318
endif
320
319
321
320
$(3 ) /stage$(1 ) /test/stdtest-$(2 )$$(X_$(2 ) ) : \
322
321
$$(STDLIB_CRATE ) $$(STDLIB_INPUTS ) \
322
+ $$(SREQ$(1 ) _T_$(2 ) _H_$(3 ) ) \
323
323
$$(STDTESTDEP_$(1 ) _$(2 ) _$(3 ) )
324
324
@$$(call E, compile_and_link: $$@ )
325
325
$$(STAGE$(1 ) _T_$(2 ) _H_$(3 ) ) -o $$@ $$< --test
326
326
327
327
$(3 ) /stage$(1 ) /test/extratest-$(2 )$$(X_$(2 ) ) : \
328
328
$$(EXTRALIB_CRATE ) $$(EXTRALIB_INPUTS ) \
329
+ $$(SREQ$(1 ) _T_$(2 ) _H_$(3 ) ) \
329
330
$$(STDTESTDEP_$(1 ) _$(2 ) _$(3 ) )
330
331
@$$(call E, compile_and_link: $$@ )
331
332
$$(STAGE$(1 ) _T_$(2 ) _H_$(3 ) ) -o $$@ $$< --test
332
333
333
334
$(3 ) /stage$(1 ) /test/syntaxtest-$(2 )$$(X_$(2 ) ) : \
334
335
$$(LIBSYNTAX_CRATE ) $$(LIBSYNTAX_INPUTS ) \
336
+ $$(SREQ$(1 ) _T_$(2 ) _H_$(3 ) ) \
335
337
$$(STDTESTDEP_$(1 ) _$(2 ) _$(3 ) )
336
338
@$$(call E, compile_and_link: $$@ )
337
339
$$(STAGE$(1 ) _T_$(2 ) _H_$(3 ) ) -o $$@ $$< --test
0 commit comments