[gtest][Windows] Resolve unit testing runtime issues

It had previously worked only on bash shells.
This commit is contained in:
Kenn Sebesta 2022-03-14 11:06:38 -04:00
parent 26605687fa
commit faa2cecd8a
1 changed files with 2 additions and 2 deletions

View File

@ -252,7 +252,7 @@ ALL_UNITTESTS := utils
UT_OUT_DIR := $(BUILD_DIR)/unit_tests
$(UT_OUT_DIR):
$(V1) mkdir -p $@
$(V1) $(MKDIR) $@
.PHONY: all_ut
all_ut: $(addsuffix _elf, $(addprefix ut_, $(ALL_UNITTESTS))) $(ALL_PYTHON_UNITTESTS)
@ -281,7 +281,7 @@ ut_$(1)_%: TARGET=$(1)
ut_$(1)_%: OUTDIR=$(UT_OUT_DIR)/$$(TARGET)
ut_$(1)_%: UT_ROOT_DIR=$(ROOT_DIR)/tests/$(1)
ut_$(1)_%: $$(UT_OUT_DIR)
$(V1) mkdir -p $(UT_OUT_DIR)/$(1)
$(V1) $(MKDIR) $(UT_OUT_DIR)/$(1)
$(V1) cd $$(UT_ROOT_DIR) && \
$$(MAKE) -r --no-print-directory \
BUILD_TYPE=ut \