Skip to content

Commit 915db1f

Browse files
committed
moved test_standalone and its resources into one folder
1 parent c9033fd commit 915db1f

File tree

5 files changed

+4
-4
lines changed

5 files changed

+4
-4
lines changed

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

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -314,7 +314,7 @@ def test_fail_without_graalpy_dep(self):
314314
with tempfile.TemporaryDirectory() as tmpdir:
315315
target_name = "fail_without_graalpy_dep_test"
316316
target_dir = os.path.join(str(tmpdir), target_name)
317-
pom_template = os.path.join(os.path.dirname(__file__), "embedding/fail_without_graalpy_dep_pom.xml")
317+
pom_template = os.path.join(os.path.dirname(__file__), "fail_without_graalpy_dep_pom.xml")
318318
self.generate_app(tmpdir, target_dir, target_name, pom_template)
319319
self.purge_local_repo(target_dir)
320320

@@ -335,7 +335,7 @@ def test_gen_launcher_and_venv(self):
335335
with tempfile.TemporaryDirectory() as tmpdir:
336336
target_name = "gen_launcher_and_venv_test"
337337
target_dir = os.path.join(str(tmpdir), target_name)
338-
pom_template = os.path.join(os.path.dirname(__file__), "embedding/prepare_venv_pom.xml")
338+
pom_template = os.path.join(os.path.dirname(__file__), "prepare_venv_pom.xml")
339339
self.generate_app(tmpdir, target_dir, target_name, pom_template)
340340
self.purge_local_repo(target_dir)
341341

@@ -363,7 +363,7 @@ def test_check_home(self):
363363
with tempfile.TemporaryDirectory() as tmpdir:
364364
target_name = "check_home_test"
365365
target_dir = os.path.join(str(tmpdir), target_name)
366-
pom_template = os.path.join(os.path.dirname(__file__), "embedding/check_home_pom.xml")
366+
pom_template = os.path.join(os.path.dirname(__file__), "check_home_pom.xml")
367367
self.generate_app(tmpdir, target_dir, target_name, pom_template)
368368
self.purge_local_repo(target_dir)
369369

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1490,7 +1490,7 @@ def graalpython_gate_runner(args, tasks):
14901490
# run the test
14911491
mx.logv(f"running with os.environ extended with: {env=}")
14921492
full_env = extend_os_env(**env)
1493-
mx.run([sys.executable, _graalpytest_driver(), "-v", "graalpython/com.oracle.graal.python.test/src/tests/test_standalone.py"], env=full_env)
1493+
mx.run([sys.executable, _graalpytest_driver(), "-v", "graalpython/com.oracle.graal.python.test/src/tests/standalone/test_standalone.py"], env=full_env)
14941494

14951495
with Task('GraalPython Python tests', tasks, tags=[GraalPythonTags.tagged]) as task:
14961496
if task:

0 commit comments

Comments
 (0)