mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Support running make check-wpt with the objdir in less common places.
This commit is contained in:
parent
58efe0bf75
commit
a959269ea8
2 changed files with 3 additions and 3 deletions
|
@ -93,7 +93,7 @@ check-content: contenttest
|
|||
|
||||
.PHONY: check-wpt
|
||||
check-wpt:
|
||||
bash $(S)src/test/wpt/run.sh $(S)
|
||||
bash $(S)src/test/wpt/run.sh $(S) $(B)
|
||||
|
||||
.PHONY: tidy
|
||||
tidy:
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
# License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
# file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
||||
|
||||
cd $1/build
|
||||
cd $2
|
||||
|
||||
test -d _virtualenv || virtualenv _virtualenv
|
||||
test -d $1/src/test/wpt/metadata || mkdir -p $1/src/test/wpt/metadata
|
||||
|
@ -10,4 +10,4 @@ test -d $1/src/test/wpt/prefs || mkdir -p $1/src/test/wpt/prefs
|
|||
source _virtualenv/bin/activate
|
||||
(python -c "import html5lib" &>/dev/null) || pip install html5lib
|
||||
(python -c "import wptrunner" &>/dev/null) || pip install wptrunner
|
||||
python $1/src/test/wpt/run.py
|
||||
python $1/src/test/wpt/run.py --binary $2/../servo
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue