Skip to content

Commit

Permalink
Fix bug is ctest success status
Browse files Browse the repository at this point in the history
  • Loading branch information
DavidNew-NOAA committed Dec 6, 2024
1 parent 1e002f3 commit f8ad5b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ci/run_ci.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f8ad5b9

Please sign in to comment.