Skip to content

Commit 2bd6ed2

Browse files
authored
No color for git output for nightly test (#1694)
Remove the color output from the git log info line for the nightly test.
1 parent 0000409 commit 2bd6ed2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tools/test_nightly.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,8 @@ cd "$ROOT" || (echo failed to cd "$ROOT"; exit 1)
1515
export BINDIR=${BINDIR:-$ROOT/target/release}
1616

1717
echo "Nightly starts at $(date)" | tee "$output_file"
18-
echo "Running on $(git log -1 | head -20)" | tee -a "$output_file"
18+
echo "Running on $(git log -1 --no-color | head -20)" | tee -a "$output_file"
19+
echo "" >> "$output_file"
1920
echo "$(date) hammer start" >> "$output_file"
2021
banner hammer
2122
banner loop

0 commit comments

Comments
 (0)