Support running make check-wpt with the objdir in less common places.

This commit is contained in:
Ms2ger 2014-04-18 17:10:02 +02:00
parent 58efe0bf75
commit a959269ea8
2 changed files with 3 additions and 3 deletions

View file

@ -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:

View file

@ -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