Smoke test: truncate the demo server log per run
All checks were successful
Build TV app / build (push) Successful in 46s
All checks were successful
Build TV app / build (push) Successful in 46s
This commit is contained in:
@@ -35,6 +35,9 @@ done
|
|||||||
mkdir -p "$RUNS/screenshots"
|
mkdir -p "$RUNS/screenshots"
|
||||||
LOG="$RUNS/smoke.log"
|
LOG="$RUNS/smoke.log"
|
||||||
: > "$LOG"
|
: > "$LOG"
|
||||||
|
# The player retries the fake demo stream for as long as it is on screen, so
|
||||||
|
# without this the request log grows by a few hundred KB per run.
|
||||||
|
: > "$RUNS/http.log"
|
||||||
|
|
||||||
step() { printf '\n== %s\n' "$1" | tee -a "$LOG"; }
|
step() { printf '\n== %s\n' "$1" | tee -a "$LOG"; }
|
||||||
fail() { printf '\nFAIL: %s\n' "$1" | tee -a "$LOG" >&2; exit 1; }
|
fail() { printf '\nFAIL: %s\n' "$1" | tee -a "$LOG" >&2; exit 1; }
|
||||||
|
|||||||
Reference in New Issue
Block a user