diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2015-09-14 16:21:59 +0100 |
---|---|---|
committer | Michael Drake <michael.drake@codethink.co.uk> | 2015-09-16 14:55:44 +0000 |
commit | ad75029f5e57caaceb091c1c27d72b52cf88302c (patch) | |
tree | 82bc8df77c41a4d29a7245dc645f928a2fc0f80f | |
parent | 6d7b2bc0f1a62c786dab4f0ea3e61609de5988eb (diff) | |
download | ciat-tester-ad75029f5e57caaceb091c1c27d72b52cf88302c.tar.gz |
Strip out logging to file
We need to log to the terminal, or BuildBot will kill us.
-rwxr-xr-x | test-runner.sh | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/test-runner.sh b/test-runner.sh index b272af2..a280cc8 100755 --- a/test-runner.sh +++ b/test-runner.sh @@ -13,21 +13,20 @@ shift BACKEND="$1" shift TEST_FILES=( "$@" ) -LOG_FILE="$FILE.test.log" # Write log header -echo "Testing image $FILE on $(date)" > "$LOG_FILE" -echo " with test command files: ${TEST_FILES[@]}" >> "$LOG_FILE" -echo "===============================================================================" >> "$LOG_FILE" +echo "Testing image $FILE on $(date)" +echo " with test command files: ${TEST_FILES[@]}" +echo "===============================================================================" # Fetch the image -echo "Fetching image $FILE" >> "$LOG_FILE" +echo "Fetching image $FILE" curl -o "$FILE" "$URL" # Run the test -echo "Launching $BACKEND test backend" >> "$LOG_FILE" -"$BACKEND/do-tests.sh" "$FILE" "${TEST_FILES[@]}" >> "$LOG_FILE" 2>&1 +echo "Launching $BACKEND test backend" +"$BACKEND/do-tests.sh" "$FILE" "${TEST_FILES[@]}" # Delete the test image -echo "Deleting local image $FILE" >> "$LOG_FILE" 2>&1 +echo "Deleting local image $FILE" rm "$FILE" |