Skip to content

Commit

Permalink
Move the trap instruction in /etc/ci/performance/test_all.sh.
Browse files Browse the repository at this point in the history
  • Loading branch information
Alan Jeffrey committed Dec 4, 2017
1 parent 9da7663 commit d13ff4d
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions etc/ci/performance/test_all.sh
Expand Up @@ -43,6 +43,9 @@ fi
echo "Starting the local server"
python3 -m http.server > /dev/null 2>&1 &

# Stop the local server no matter how we exit the script
trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT

# TODO: enable the full manifest when #11087 is fixed
# https://github.com/servo/servo/issues/11087
# MANIFEST="page_load_test/tp5n/20160509.manifest"
Expand All @@ -61,5 +64,3 @@ then
python3 submit_to_s3.py "${PERF_FILE}" "${PERF_KEY}"
fi

echo "Stopping the local server"
trap 'kill $(jobs -pr)' SIGINT SIGTERM EXIT

0 comments on commit d13ff4d

Please sign in to comment.