Skip to content

Commit 702a6f7

Browse files
committed
Attempt to solve make check test ambiguity betwen crate 'rust' and extratected doc 'rust'
1 parent 726fc87 commit 702a6f7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

mk/tests.mk

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -470,20 +470,20 @@ $(foreach host,$(CFG_TARGET_TRIPLES), \
470470

471471
define DEF_RUN_DOC_TEST
472472

473-
DOC_TEST_ARGS$(1)-T-$(2)-H-$(3)-$(4) := \
473+
DOC_TEST_ARGS$(1)-T-$(2)-H-$(3)-doc-$(4) := \
474474
$$(CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3)) \
475475
--src-base $(3)/test/doc-$(4)/ \
476476
--build-base $(3)/test/doc-$(4)/ \
477477
--mode run-pass
478478

479-
check-stage$(1)-T-$(2)-H-$(3)-doc-$(4)-exec: $$(call TEST_OK_FILE,$(1),$(2),$(3),$(4))
479+
check-stage$(1)-T-$(2)-H-$(3)-doc-$(4)-exec: $$(call TEST_OK_FILE,$(1),$(2),$(3),doc-$(4))
480480

481-
$$(call TEST_OK_FILE,$(1),$(2),$(3),$(4)): \
481+
$$(call TEST_OK_FILE,$(1),$(2),$(3),doc-$(4)): \
482482
$$(TEST_SREQ$(1)_T_$(2)_H_$(3)) \
483483
doc-$(4)-extract$(3)
484484
@$$(call E, run doc-$(4): $$<)
485485
$$(Q)$$(call CFG_RUN_CTEST,$(1),$$<,$(3)) \
486-
$$(DOC_TEST_ARGS$(1)-T-$(2)-H-$(3)-$(4)) \
486+
$$(DOC_TEST_ARGS$(1)-T-$(2)-H-$(3)-doc-$(4)) \
487487
--logfile $$(call TEST_LOG_FILE,$(1),$(2),$(3),doc-$(4)) \
488488
&& touch $$@
489489

0 commit comments

Comments
 (0)