From f9e618b3274ee58f28a0a15e5d286c6f1cdd6568 Mon Sep 17 00:00:00 2001 From: Bradley Dice Date: Wed, 7 Feb 2024 13:32:20 -0600 Subject: [PATCH] Ensure that `ctest` is called with `--no-tests=error`. (#4148) This PR ensures that all calls to `ctest` include the flag `--no-tests=error`. See https://github.com/rapidsai/build-planning/issues/18. Authors: - Bradley Dice (https://github.com/bdice) Approvers: - Jake Awe (https://github.com/AyodeAwe) - Rick Ratzel (https://github.com/rlratzel) URL: https://github.com/rapidsai/cugraph/pull/4148 --- ci/test_cpp.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ci/test_cpp.sh b/ci/test_cpp.sh index b204c1dc59b..39fff52bd94 100755 --- a/ci/test_cpp.sh +++ b/ci/test_cpp.sh @@ -1,5 +1,5 @@ #!/bin/bash -# Copyright (c) 2022-2023, NVIDIA CORPORATION. +# Copyright (c) 2022-2024, NVIDIA CORPORATION. set -euo pipefail @@ -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"