Skip to content

Commit 58bdd7d

Browse files
steve-stimfel
authored andcommitted
Temp: add more logging to test_standalone.py
(cherry picked from commit d14cdcb)
1 parent 8b809e9 commit 58bdd7d

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

graalpython/com.oracle.graal.python.test/src/tests/test_standalone.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,7 @@
4747
MVN_CMD = [shutil.which('mvn')]
4848

4949
def run_cmd(cmd, env, cwd=None):
50+
print(f"Executing:\n {cmd=}\n {env=}\n {cwd=}")
5051
process = subprocess.Popen(cmd, env=env, cwd=cwd, stdout=subprocess.PIPE, stderr=subprocess.STDOUT, universal_newlines=True, text=True)
5152
out = []
5253
for line in iter(process.stdout.readline, ""):

graalpython/lib-graalpython/modules/standalone/app/graalpy.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,4 +17,5 @@ for var in "$@"; do
1717
done
1818

1919
export GRAAL_PYTHON_ARGS=$args
20+
echo graalpy.sh is going to execute: mvn -f "${location}/pom.xml" exec:exec -Dexec.executable=java -Dexec.args="--module-path %classpath '-Dorg.graalvm.launcher.executablename=$0' --module org.graalvm.py.launcher/com.oracle.graal.python.shell.GraalPythonMain"
2021
mvn -f "${location}/pom.xml" exec:exec -Dexec.executable=java -Dexec.args="--module-path %classpath '-Dorg.graalvm.launcher.executablename=$0' --module org.graalvm.py.launcher/com.oracle.graal.python.shell.GraalPythonMain"

0 commit comments

Comments
 (0)