summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-06-11 07:04:35 (GMT)
committerGitHub <noreply@github.com>2022-06-11 07:04:35 (GMT)
commit4c881049ef1ff0e3632da13bd9353fb53b7e57b0 (patch)
tree8b35349b7b91d120c8d9ea3925fba59aec018581 /configure
parent54fe3d57bf5078f2d019df20c2db8028eb1a9e0f (diff)
downloadcpython-4c881049ef1ff0e3632da13bd9353fb53b7e57b0.zip
cpython-4c881049ef1ff0e3632da13bd9353fb53b7e57b0.tar.gz
cpython-4c881049ef1ff0e3632da13bd9353fb53b7e57b0.tar.bz2
gh-84461: Use HOSTRUNNER to run regression tests (GH-93694)
Co-authored-by: Brett Cannon <brett@python.org> (cherry picked from commit dc5e02b2f44dada145a3743ef77b07dbcf3e4a4a) Co-authored-by: Christian Heimes <christian@python.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 5c85360..01d599d 100755
--- a/configure
+++ b/configure
@@ -6782,7 +6782,7 @@ else
fi
;; #(
WASI/*) :
- HOSTRUNNER='wasmtime run --env PYTHONPATH=$$(realpath --relative-to $(abs_srcdir) $(abs_builddir))/$$(cat pybuilddir.txt) --mapdir /::$(srcdir) --' ;; #(
+ HOSTRUNNER='wasmtime run --env PYTHONPATH=/$(shell realpath --relative-to $(abs_srcdir) $(abs_builddir))/$(shell cat pybuilddir.txt) --mapdir /::$(srcdir) --' ;; #(
*) :
HOSTRUNNER=''
;;
@@ -6792,6 +6792,10 @@ fi
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $HOSTRUNNER" >&5
$as_echo "$HOSTRUNNER" >&6; }
+if test -n "$HOSTRUNNER"; then
+ PYTHON_FOR_BUILD="_PYTHON_HOSTRUNNER='$HOSTRUNNER' $PYTHON_FOR_BUILD"
+fi
+
{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDLIBRARY" >&5
$as_echo "$LDLIBRARY" >&6; }