Skip to content

Commit

Permalink
/benchmark/sqllogictest_tester/run_tester.sh: Add bold and colored ou…
Browse files Browse the repository at this point in the history
…tput
  • Loading branch information
coffeegoddd committed Apr 22, 2020
1 parent 32a4aa0 commit b1087b2
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions benchmark/sqllogictest_tester/run_tester.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ SQL

result_regressions=`echo $result_query_output | sed '/^\s*$/d' | wc -l | tr -d '[:space:]'`

if [ "$result_regressions" != 0 ]; then echo "Result regression found, $result_regressions != 0" && echo $result_query_output && exit 1; else echo "No result regressions found"; fi
if [ "$result_regressions" != 0 ]; then echo -e "\033[31mResult regression found, $result_regressions != 0\033[0m" && echo $result_query_output && exit 1; else echo -e "\033[32mNo result regression found\033[0m"; fi

}

Expand Down Expand Up @@ -184,8 +184,6 @@ append() {
function create_releases_csv() {
test_files=$(find "$TMP_TESTING_DIR" | sed -n "s|^$TMP_TESTING_DIR/||p")

echo "$test_files"

SAVEIFS=$IFS
IFS=$'\n'

Expand Down

0 comments on commit b1087b2

Please sign in to comment.