summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorChristian Heimes <christian@python.org>2022-06-11 06:42:23 (GMT)
committerGitHub <noreply@github.com>2022-06-11 06:42:23 (GMT)
commitdc5e02b2f44dada145a3743ef77b07dbcf3e4a4a (patch)
tree1cf9766732d397987f482db5ced7eec441ae9709 /configure
parent4c496f1f115a7910d4606b4de233d14874c77bfa (diff)
downloadcpython-dc5e02b2f44dada145a3743ef77b07dbcf3e4a4a.zip
cpython-dc5e02b2f44dada145a3743ef77b07dbcf3e4a4a.tar.gz
cpython-dc5e02b2f44dada145a3743ef77b07dbcf3e4a4a.tar.bz2
gh-84461: Use HOSTRUNNER to run regression tests (GH-93694)
Co-authored-by: Brett Cannon <brett@python.org>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 5 insertions, 1 deletions
diff --git a/configure b/configure
index 677de64..fb51026 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; }