From f67f6ef062ae06af7406306881ca944963a889db Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Mon, 8 Sep 2014 14:18:02 +0200 Subject: [PATCH] Fix WPT when /usr/bin/python is python3 Use the Python that was detected during configure. --- src/test/wpt/run.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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