From f8ad5b98357986268e32dccf17942f9aad641796 Mon Sep 17 00:00:00 2001 From: DavidNew-NOAA Date: Fri, 6 Dec 2024 16:26:38 +0000 Subject: [PATCH] Fix bug is ctest success status --- ci/run_ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/run_ci.sh b/ci/run_ci.sh index 73c60ad3b..9579ac850 100755 --- a/ci/run_ci.sh +++ b/ci/run_ci.sh @@ -97,8 +97,8 @@ if [ -n "$ctest_regex_exclude" ]; then ctest_cmd+=" -E $ctest_regex_exclude" fi pwd -$ctest_cmd --output-on-failure &>> log.ctest echo "Tests: $ctest_cmd" >> $outfile +$ctest_cmd --output-on-failure &>> log.ctest ctest_status=$? npassed=$(cat log.ctest | grep "tests passed") if [ $ctest_status -eq 0 ]; then