Skip to content

Commit

Permalink
ci-debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
madsbk committed Nov 26, 2024
1 parent a56c5f6 commit 3d4c231
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions ci/run_ctests.sh
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash
# Copyright (c) 2024, NVIDIA CORPORATION.

set -euo pipefail
set -xeuo pipefail

# Support customizing the ctests' install location
cd "${INSTALL_PREFIX:-${CONDA_PREFIX:-/usr}}/bin/tests/libkvikio/"
Expand All @@ -10,5 +10,8 @@ cd "${INSTALL_PREFIX:-${CONDA_PREFIX:-/usr}}/bin/tests/libkvikio/"
./BASIC_IO_EXAMPLE
./BASIC_NO_CUDA_EXAMPLE

# Run gtests
ctest --no-tests=error --output-on-failure "$@"
# Running the tests directly, works fine
./cpp_tests

# But running them through ctest fails?!?
ctest -VV --no-tests=error --output-on-failure "$@"

0 comments on commit 3d4c231

Please sign in to comment.