Skip to content

Commit 27248e5

Browse files
committed
run apptests more directly
1 parent 89c6d5c commit 27248e5

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

mx.graalpython/mx_graalpython.py

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,7 @@
3434
import mx_gate
3535
import mx_sdk
3636
import mx_subst
37+
import mx_urlrewrites
3738
from mx_downstream import testdownstream
3839
from mx_gate import Task
3940
from mx_graalpython_benchmark import PythonBenchmarkSuite
@@ -421,11 +422,11 @@ def is_included(path):
421422
with Task('GraalPython apptests', tasks, tags=[GraalPythonTags.apptests]) as task:
422423
if task:
423424
apprepo = os.environ["GRAALPYTHON_APPTESTS_REPO_URL"]
424-
testdownstream(
425-
_suite,
426-
[apprepo],
427-
".",
428-
[["graalpython-apptests"]])
425+
_apptest_suite = _suite.import_suite(
426+
"graalpython-apptests",
427+
urlinfos=[mx.SuiteImportURLInfo(mx_urlrewrites.rewriteurl(apprepo), "git", mx.vc_system("git"))]
428+
)
429+
mx.run_mx(["-p", _apptest_suite.dir, "graalpython-apptests"])
429430

430431
with Task('GraalPython license header update', tasks, tags=[GraalPythonTags.license]) as task:
431432
if task:

0 commit comments

Comments
 (0)