Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/pull-request-checks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -921,7 +921,7 @@ jobs:
make CXX=clcache BUILD_ENV=MSVC -C unit test TAGS="[z3]"
make CXX=clcache BUILD_ENV=MSVC -C jbmc/unit test
- name: Run CBMC regression tests
run: make CXX=clcache BUILD_ENV=MSVC -C regression test
run: make CXX=clcache BUILD_ENV=MSVC -j${{env.windows-vcpus}} -C regression test-parallel-jobs

# This job takes approximately 7 to 32 minutes
windows-msi-package:
Expand Down
13 changes: 13 additions & 0 deletions jbmc/regression/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,19 @@ test-parallel:
$(MAKE) "{}" \
::: $(DIRS)

# Run all test directories in parallel when invoked with make -j<N>
# (no GNU Parallel needed).
# Example: make -j8 test-parallel-jobs
# Without -j, the directories will run sequentially.
PARALLEL_DIRS = $(addprefix parallel__,$(DIRS))
.PHONY: mvn-package test-parallel-jobs $(PARALLEL_DIRS)
mvn-package:
mvn --quiet clean package -T1C
test-parallel-jobs: $(PARALLEL_DIRS)
$(PARALLEL_DIRS): parallel__%: mvn-package
@echo "Running $*..."
$(MAKE) -C "$*" test


.PHONY: clean
clean:
Expand Down
11 changes: 11 additions & 0 deletions regression/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,17 @@ test-parallel:
$(MAKE) "{}" \
::: $(DIRS)

# Run all test directories in parallel when invoked with make -j<N>
# (no GNU Parallel needed).
# Example: make -j8 test-parallel-jobs
# Without -j, the directories will run sequentially.
PARALLEL_DIRS = $(addprefix parallel__,$(DIRS))
.PHONY: test-parallel-jobs $(PARALLEL_DIRS)
test-parallel-jobs: $(PARALLEL_DIRS)
$(PARALLEL_DIRS): parallel__%:
@echo "Running $*..."
$(MAKE) -C "$*" test


.PHONY: clean
clean:
Expand Down
Loading