Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/test_in_devenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ jobs:
echo "::error file=test_in_devenv.yml::Python interop tests failed with status $pytest_status."
exit 1
fi
ctest --output-on-failure --test-dir build -E "ctest-nvqpp|ctest-targettests"
ctest -j$(nproc) --output-on-failure --test-dir build -E "ctest-nvqpp|ctest-targettests"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Amazing idea! 😄

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had some inspiration 🙂

ctest_status=$?
$LLVM_INSTALL_PREFIX/bin/llvm-lit -v --time-tests --param nvqpp_site_config=build/test/lit.site.cfg.py build/test
lit_status=$?
Expand Down Expand Up @@ -135,7 +135,7 @@ jobs:
echo $CUDAQ_MPI_COMM_LIB
# Rerun the MPI plugin test
cd $CUDAQ_REPO_ROOT
ctest --test-dir build -R MPIApiTest -V
ctest -j$(nproc) --test-dir build -R MPIApiTest -V
external_plugin_status=$?
if [ ! $external_plugin_status -eq 0 ] ; then
echo "::error file=test_in_devenv.yml::Test CUDA Quantum MPI Plugin Activation failed with status $external_plugin_status."
Expand Down
Loading