Took out all of the metrics stuff from tests.mk
References rust-lang/rust/#19145 modified: src/llvm (new commits)
This commit is contained in:
parent
0efafac398
commit
611ef49f2f
17
mk/tests.mk
17
mk/tests.mk
@ -73,21 +73,6 @@ endif
|
||||
TEST_LOG_FILE=tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).log
|
||||
TEST_OK_FILE=tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).ok
|
||||
|
||||
TEST_RATCHET_FILE=tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4)-metrics.json
|
||||
TEST_RATCHET_NOISE_PERCENT=10.0
|
||||
|
||||
# Whether to ratchet or merely save benchmarks
|
||||
ifdef CFG_RATCHET_BENCH
|
||||
CRATE_TEST_EXTRA_ARGS= \
|
||||
--test $(TEST_BENCH) \
|
||||
--ratchet-metrics $(call TEST_RATCHET_FILE,$(1),$(2),$(3),$(4)) \
|
||||
--ratchet-noise-percent $(TEST_RATCHET_NOISE_PERCENT)
|
||||
else
|
||||
CRATE_TEST_EXTRA_ARGS= \
|
||||
--test $(TEST_BENCH) \
|
||||
--save-metrics $(call TEST_RATCHET_FILE,$(1),$(2),$(3),$(4))
|
||||
endif
|
||||
|
||||
# If we're sharding the testsuite between parallel testers,
|
||||
# pass this argument along to the compiletest and crate test
|
||||
# invocations.
|
||||
@ -454,7 +439,6 @@ $$(call TEST_OK_FILE,$(1),$(2),$(3),$(4)): \
|
||||
$$(Q)touch tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).log
|
||||
$$(Q)$(CFG_ADB) pull $(CFG_ADB_TEST_DIR)/check-stage$(1)-T-$(2)-H-$(3)-$(4).log tmp/
|
||||
$$(Q)$(CFG_ADB) shell rm $(CFG_ADB_TEST_DIR)/check-stage$(1)-T-$(2)-H-$(3)-$(4).log
|
||||
$$(Q)$(CFG_ADB) pull $(CFG_ADB_TEST_DIR)/$$(call TEST_RATCHET_FILE,$(1),$(2),$(3),$(4)) tmp/
|
||||
@if grep -q "result: ok" tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).tmp; \
|
||||
then \
|
||||
rm tmp/check-stage$(1)-T-$(2)-H-$(3)-$(4).tmp; \
|
||||
@ -696,7 +680,6 @@ CTEST_ARGS$(1)-T-$(2)-H-$(3)-$(4) := \
|
||||
$$(CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3)) \
|
||||
--src-base $$(S)src/test/$$(CTEST_SRC_BASE_$(4))/ \
|
||||
--build-base $(3)/test/$$(CTEST_BUILD_BASE_$(4))/ \
|
||||
--ratchet-metrics $(call TEST_RATCHET_FILE,$(1),$(2),$(3),$(4)) \
|
||||
--mode $$(CTEST_MODE_$(4)) \
|
||||
$$(CTEST_RUNTOOL_$(4))
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user