Skip to content

Commit

Permalink
Revert "regression prints execution time"
Browse files Browse the repository at this point in the history
This reverts commit aec6c21.
  • Loading branch information
Thomas Hader committed Mar 11, 2024
1 parent bd2daab commit f19e927
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
6 changes: 0 additions & 6 deletions tests/regress/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,6 @@ fail=$(find "$logdir" -type f -name "*.error" | wc -l)

echo "Pass: $pass"
echo "Fail: $fail"
if [[ $pass -gt 0 ]]; then
echo "Runtime: $(find "$logdir" -type f -exec sed -n '2p' {} \; | paste -sd+ - | bc) s"
if [[ $fail -gt 0 ]]; then
echo "Runtime (passed): $(find "$logdir" -type f -name "*.pass" -exec sed -n '2p' {} \; | paste -sd+ - | bc) s"
fi
fi

if [ "$fail" -eq 0 ] ; then
code=0
Expand Down
2 changes: 0 additions & 2 deletions tests/regress/run_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -178,15 +178,13 @@ then
if [ -n "$log_file" ] ; then
log_file="$log_file.pass"
echo "$test_string" > "$log_file"
echo "$runtime" >> "$log_file"
fi
code=0
else
echo -e "$red FAIL $black $test_string"
if [ -n "$log_file" ] ; then
log_file="$log_file.error"
echo "$test_string" > "$log_file"
echo "$runtime" >> "$log_file"
echo "$DIFF" >> "$log_file"
fi
code=1
Expand Down

0 comments on commit f19e927

Please sign in to comment.