Skip to content

Commit

Permalink
Ensure that ctest is called with --no-tests=error. (#4148)
Browse files Browse the repository at this point in the history
This PR ensures that all calls to `ctest` include the flag `--no-tests=error`. See rapidsai/build-planning#18.

Authors:
  - Bradley Dice (https://github.com/bdice)

Approvers:
  - Jake Awe (https://github.com/AyodeAwe)
  - Rick Ratzel (https://github.com/rlratzel)

URL: #4148
  • Loading branch information
bdice authored Feb 7, 2024
1 parent 434d808 commit f9e618b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions ci/test_cpp.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/bash
# Copyright (c) 2022-2023, NVIDIA CORPORATION.
# Copyright (c) 2022-2024, NVIDIA CORPORATION.

set -euo pipefail

Expand Down Expand Up @@ -47,11 +47,11 @@ export GTEST_OUTPUT=xml:${RAPIDS_TESTS_DIR}/
# Run libcugraph gtests from libcugraph-tests package
rapids-logger "Run gtests"
cd "$CONDA_PREFIX"/bin/gtests/libcugraph/
ctest -j10 --output-on-failure
ctest -j10 --output-on-failure --no-tests=error

if [ -d "$CONDA_PREFIX"/bin/gtests/libcugraph_c/ ]; then
cd "$CONDA_PREFIX"/bin/gtests/libcugraph_c/
ctest -j10 --output-on-failure
ctest -j10 --output-on-failure --no-tests=error
fi

rapids-logger "Test script exiting with value: $EXITCODE"
Expand Down

0 comments on commit f9e618b

Please sign in to comment.