mirror of
https://github.com/servo/servo.git
synced 2025-06-06 16:45:39 +00:00
Auto merge of #19207 - asajeffrey:test-perf-add-base-url-option, r=edunham
Add --base option to test-perf. <!-- Please describe your changes on the following line: --> Add a `--base <URL>` option to test-perf, which is handy for two reasons: a) it reduces randomness in tests by allowing tests to be file URLs, and b) it doesn't require running the test suite as root (the tp5n manifest hardwires tests served from port 80 on localhost). --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes do not require tests because this is test infrastructure <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19207) <!-- Reviewable:end -->
This commit is contained in:
commit
5f33d35cde
6 changed files with 91 additions and 31 deletions
|
@ -35,13 +35,4 @@ mkdir -p 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
|
||||
./test_all.sh --servo ${*}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue