Skip to content

Commit 3afd708

Browse files
committed
mk: minor fix for test.mk to support mutiple target test
1 parent 9d65446 commit 3afd708

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mk/tests.mk

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -505,7 +505,7 @@ CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3) := \
505505
--rustc-path $$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
506506
--aux-base $$(S)src/test/auxiliary/ \
507507
--stage-id stage$(1)-$(2) \
508-
--host $(3) \
508+
--host $(CFG_BUILD_TRIPLE) \
509509
--target $(2) \
510510
--adb-path=$(CFG_ADB_PATH) \
511511
--rustcflags "$(RUSTC_FLAGS_$(2)) $$(CFG_RUSTC_FLAGS) --target=$(2)" \
@@ -519,7 +519,7 @@ CTEST_COMMON_ARGS$(1)-T-$(2)-H-$(3) := \
519519
--rustc-path $$(HBIN$(1)_H_$(3))/rustc$$(X_$(3)) \
520520
--aux-base $$(S)src/test/auxiliary/ \
521521
--stage-id stage$(1)-$(2) \
522-
--host $(3) \
522+
--host $(CFG_BUILD_TRIPLE) \
523523
--target $(2) \
524524
--rustcflags "$(RUSTC_FLAGS_$(2)) $$(CFG_RUSTC_FLAGS) --target=$(2)" \
525525
$$(CTEST_TESTARGS)

0 commit comments

Comments
 (0)