Skip to content

Commit

Permalink
Enable concurrent builds in run-integration-tests.py
Browse files Browse the repository at this point in the history
  • Loading branch information
fknorr committed Aug 7, 2023
1 parent 62c7399 commit ab8a00c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/run-integration-tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ def run_backend_discovery_and_copy_test(build_dir: str, backend: Optional[Litera
backend_config = [f"-DCELERITY_ENABLE_CUDA_BACKEND={'ON' if backend == 'CUDA' and enabled else 'OFF'}"]
cmake_args = ["-DCELERITY_DETAIL_INTEGRATION_TESTING=ON"] + backend_config
subprocess.run(["cmake", celerity_dir] + cmake_args, cwd=build_dir, check=True)
subprocess.run(["cmake", "--build", ".", "--target", "backend"], cwd=build_dir, check=True)
subprocess.run(["cmake", "--build", ".", "--target", "backend", "-j", str(os.cpu_count())], cwd=build_dir, check=True)

exe = os.path.join(build_dir, "test/integration/backend")

Expand Down

0 comments on commit ab8a00c

Please sign in to comment.