aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2014-09-08 10:06:41 -0400
committerJosh Matthews <josh@joshmatthews.net>2014-09-08 10:06:41 -0400
commitdb2f642c32fc5bed445bb6f2e45b0f6f0b4342cf (patch)
tree89cac701a069b43f55f64ec1953ccf8fdcdf39ae /src
parentf701a9b827f186a0cdc8a5547993279f8386de66 (diff)
parentf67f6ef062ae06af7406306881ca944963a889db (diff)
downloadservo-db2f642c32fc5bed445bb6f2e45b0f6f0b4342cf.tar.gz
servo-db2f642c32fc5bed445bb6f2e45b0f6f0b4342cf.zip
Merge pull request #3246 from SimonSapin/wpt-python2
Fix WPT when /usr/bin/python is python3
Diffstat (limited to 'src')
-rwxr-xr-xsrc/test/wpt/run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/wpt/run.sh b/src/test/wpt/run.sh
index 56bf1eec177..c1b4350000e 100755
--- a/src/test/wpt/run.sh
+++ b/src/test/wpt/run.sh
@@ -9,7 +9,7 @@ objdir="$2"
shift 2
cd $objdir/..
-test -d _virtualenv || virtualenv _virtualenv
+test -d _virtualenv || virtualenv _virtualenv -p $(which $PYTHON)
test -d $servo_root/src/test/wpt/metadata || mkdir -p $servo_root/src/test/wpt/metadata
test -d $servo_root/src/test/wpt/prefs || mkdir -p $servo_root/src/test/wpt/prefs
source _virtualenv/bin/activate