Skip to content

Commit 7f1b273

Browse files
committed
[GR-10643] Apptest fixups
PullRequest: graalpython/144
2 parents c935844 + 87021f1 commit 7f1b273

File tree

2 files changed

+2
-26
lines changed

2 files changed

+2
-26
lines changed

ci.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
overlay: "76b2a3caba44d5b83c8532dd7913ad26ef6816d2",
2+
overlay: "c4217534963c6053d41e5fd046aeb4dbfc71f517",
33

44
// ======================================================================================================
55
//

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -276,7 +276,6 @@ class GraalPythonTags(object):
276276
benchmarks = 'python-benchmarks'
277277
downstream = 'python-downstream'
278278
graalvm = 'python-graalvm'
279-
R = 'python-R'
280279
apptests = 'python-apptests'
281280
license = 'python-license'
282281

@@ -414,35 +413,12 @@ def is_included(path):
414413
test_args = ["graalpython/com.oracle.graal.python.test/src/graalpytest.py", "-v"] + testfiles
415414
mx.run(["./graalpython-svm", "--python.CoreHome=graalpython/lib-graalpython", "--python.StdLibHome=graalpython/lib-python/3", langhome] + test_args, nonZeroIsFatal=True)
416415

417-
with Task('GraalPython downstream R tests', tasks, tags=[GraalPythonTags.downstream, GraalPythonTags.R]) as task:
418-
script_r2p = os.path.join(_suite.dir, "graalpython", "benchmarks", "src", "benchmarks", "interop", "r_python_image_demo.r")
419-
script_p2r = os.path.join(_suite.dir, "graalpython", "benchmarks", "src", "benchmarks", "interop", "python_r_image_demo.py")
420-
pythonjars = os.pathsep.join([
421-
os.path.join(_suite.dir, "mxbuild", "dists", "graalpython.jar"),
422-
os.path.join(_suite.dir, "mxbuild", "dists", "graalpython-env.jar")
423-
])
424-
if task:
425-
rrepo = os.environ["FASTR_REPO_URL"]
426-
testdownstream(
427-
_suite,
428-
[rrepo, mx.suite("truffle").vc._remote_url(mx.suite("truffle").dir, "origin")],
429-
".",
430-
[["--dynamicimports", "graalpython", "--version-conflict-resolution", "latest_all", "build", "--force-deprecation-as-warning"],
431-
["--cp-sfx", pythonjars, "r", "--polyglot", "--file=%s" % script_r2p]
432-
])
433-
testdownstream(
434-
_suite,
435-
[rrepo, mx.suite("truffle").vc._remote_url(mx.suite("truffle").dir, "origin")],
436-
".",
437-
[["--dynamicimports", "graalpython", "--version-conflict-resolution", "latest_all", "build", "--force-deprecation-as-warning"],
438-
["-v", "--cp-sfx", pythonjars, "r", "--jvm", "--polyglot", "-e", "eval.polyglot('python', path='%s')" % str(script_p2r)]
439-
])
440-
441416
with Task('GraalPython apptests', tasks, tags=[GraalPythonTags.apptests]) as task:
442417
if task:
443418
apprepo = os.environ["GRAALPYTHON_APPTESTS_REPO_URL"]
444419
_apptest_suite = _suite.import_suite(
445420
"graalpython-apptests",
421+
version="a16199a5f529689c6b671ce1ead79be0e652f3c9",
446422
urlinfos=[mx.SuiteImportURLInfo(mx_urlrewrites.rewriteurl(apprepo), "git", mx.vc_system("git"))]
447423
)
448424
mx.run_mx(["-p", _apptest_suite.dir, "graalpython-apptests"])

0 commit comments

Comments
 (0)