mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
Add an option to submit test-perf result to perfherder
This commit is contained in:
parent
16199b4983
commit
ddd03229e0
4 changed files with 38 additions and 31 deletions
|
@ -32,6 +32,16 @@ PS1="" source venv/bin/activate
|
|||
pip install "treeherder-client>=3.0.0"
|
||||
|
||||
mkdir -p servo
|
||||
mkdir -p output
|
||||
./git_log_to_json.sh > servo/revision.json && \
|
||||
./test_all.sh --servo
|
||||
mkdir -p output # Test result will be saved to output/perf-<timestamp>.json
|
||||
./git_log_to_json.sh > servo/revision.json
|
||||
|
||||
if [[ "${#}" -eq 1 ]]; then
|
||||
if [[ "${1}" = "--submit" ]]; then
|
||||
./test_all.sh --servo --submit
|
||||
else
|
||||
echo "Unrecognized argument: ${1}; Ignore and proceed without submitting"
|
||||
./test_all.sh --servo
|
||||
fi
|
||||
else
|
||||
./test_all.sh --servo
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue