diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 16c6d6bc..63dd1c78 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -223,6 +223,11 @@ jobs: - platform: macOS x86_64 runner: macos-13 steps: + - name: Checkout Source + uses: actions/checkout@v4 + with: + submodules: recursive + - name: Download Test Config uses: pyTooling/download-artifact@v4 with: diff --git a/.gitmodules b/.gitmodules index 05a79148..9c5a000b 100644 --- a/.gitmodules +++ b/.gitmodules @@ -14,4 +14,7 @@ path = deps/zlib url = https://github.com/madler/zlib.git branch = develop - ignore = dirty \ No newline at end of file + ignore = dirty +[submodule "deps/gtest-parallel"] + path = deps/gtest-parallel + url = https://github.com/google/gtest-parallel.git diff --git a/deps/gtest-parallel b/deps/gtest-parallel new file mode 160000 index 00000000..96f4f904 --- /dev/null +++ b/deps/gtest-parallel @@ -0,0 +1 @@ +Subproject commit 96f4f904922f9bf66689e749c40f314845baaac8 diff --git a/src/windows-emulator-test/CMakeLists.txt b/src/windows-emulator-test/CMakeLists.txt index 5f755e01..202db345 100644 --- a/src/windows-emulator-test/CMakeLists.txt +++ b/src/windows-emulator-test/CMakeLists.txt @@ -19,8 +19,13 @@ if(WIN32) add_dependencies(windows-emulator-test test-sample) endif() +set(PYTHON3_EXE "python3") +if(CMAKE_SYSTEM_NAME MATCHES "Windows") + set(PYTHON3_EXE "python") +endif() + add_test(NAME windows-emulator-test - COMMAND windows-emulator-test + COMMAND "${PYTHON3_EXE}" "${PROJECT_SOURCE_DIR}/deps/gtest-parallel/gtest_parallel.py" ./windows-emulator-test WORKING_DIRECTORY "$") -momo_targets_set_folder("tests" windows-emulator-test) \ No newline at end of file +momo_targets_set_folder("tests" windows-emulator-test)