mirror of
https://github.com/momo5502/emulator.git
synced 2026-01-11 16:46:16 +00:00
Run tests in parallel
This commit is contained in:
5
.github/workflows/build.yml
vendored
5
.github/workflows/build.yml
vendored
@@ -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:
|
||||
|
||||
5
.gitmodules
vendored
5
.gitmodules
vendored
@@ -14,4 +14,7 @@
|
||||
path = deps/zlib
|
||||
url = https://github.com/madler/zlib.git
|
||||
branch = develop
|
||||
ignore = dirty
|
||||
ignore = dirty
|
||||
[submodule "deps/gtest-parallel"]
|
||||
path = deps/gtest-parallel
|
||||
url = https://github.com/google/gtest-parallel.git
|
||||
|
||||
1
deps/gtest-parallel
vendored
Submodule
1
deps/gtest-parallel
vendored
Submodule
Submodule deps/gtest-parallel added at 96f4f90492
@@ -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 "$<TARGET_FILE_DIR:windows-emulator-test>")
|
||||
|
||||
momo_targets_set_folder("tests" windows-emulator-test)
|
||||
momo_targets_set_folder("tests" windows-emulator-test)
|
||||
|
||||
Reference in New Issue
Block a user