Skip to content

Commit 08116b2

Browse files
committed
Fix .testing Makefile with WORKSPACE
This commit fixes the bug that make for target code in regression tests does not work properly with specified WORKSPACE.
1 parent df2cd12 commit 08116b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.testing/Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -282,7 +282,7 @@ $(BUILD)/%/MOM6: $(BUILD)/%/Makefile FORCE
282282

283283
# Target codebase should use its own build system
284284
$(BUILD)/target/MOM6: $(BUILD)/target FORCE | $(TARGET_CODEBASE)
285-
$(MAKE) -C $(TARGET_CODEBASE)/.testing build/symmetric/MOM6
285+
$(MAKE) -C $(TARGET_CODEBASE)/.testing WORKSPACE=. build/symmetric/MOM6
286286

287287
$(BUILD)/target: | $(TARGET_CODEBASE)
288288
ln -s $(abspath $(TARGET_CODEBASE))/.testing/build/symmetric $@

0 commit comments

Comments
 (0)