Skip to content

Commit e807ace

Browse files
committed
add apptests
1 parent 2960f7f commit e807ace

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
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: "2081dc054251c6658f7ce8f4b6671a474edbf2f6",
2+
overlay: "03b824f947adf9a67c80c3e8a27646d43a687bfb",
33

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

mx.graalpython/mx_graalpython.py

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -260,6 +260,7 @@ class GraalPythonTags(object):
260260
downstream = 'python-downstream'
261261
graalvm = 'python-graalvm'
262262
R = 'python-R'
263+
apptests = 'python-apptests'
263264
license = 'python-license'
264265

265266

@@ -417,6 +418,15 @@ def is_included(path):
417418
["-v", "--cp-sfx", pythonjars, "r", "--jvm", "--polyglot", "-e", "eval.polyglot('python', path='%s')" % str(script_p2r)]
418419
])
419420

421+
with Task('GraalPython apptests', tasks, tags=[GraalPythonTags.apptests]) as task:
422+
if task:
423+
apprepo = os.environ["GRAALPYTHON_APPTESTS_REPO_URL"]
424+
testdownstream(
425+
_suite,
426+
[apprepo, mx.suite("truffle").vc._remote_url(mx.suite("truffle").dir, "origin")],
427+
".",
428+
[["graalpython-apptests"]])
429+
420430
with Task('GraalPython license header update', tasks, tags=[GraalPythonTags.license]) as task:
421431
if task:
422432
python_checkcopyrights([])

0 commit comments

Comments
 (0)