Skip to content

Commit b31fac5

Browse files
committed
no longer run unittests under junit, instead run multi-context unittests as separate gate
1 parent a386ae1 commit b31fac5

File tree

4 files changed

+8
-93
lines changed

4 files changed

+8
-93
lines changed

ci.jsonnet

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{ overlay: "a65d4a3b3dc224b11cd07774cbb3c21084259daf" }
1+
{ overlay: "91be9b2632f293b113131237d17087c52276ac3e" }

graalpython/com.oracle.graal.python.test/src/com/oracle/graal/python/test/python/PyTests.java

Lines changed: 0 additions & 90 deletions
This file was deleted.

mx.graalpython/mx_graalpython.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,7 @@ class GraalPythonTags(object):
207207
junit = 'python-junit'
208208
unittest = 'python-unittest'
209209
unittest_sandboxed = 'python-unittest-sandboxed'
210+
unittest_multi = 'python-unittest-multi-context'
210211
unittest_jython = 'python-unittest-jython'
211212
tagged = 'python-tagged-unittest'
212213
svmunit = 'python-svm-unittest'
@@ -386,6 +387,10 @@ def graalpython_gate_runner(args, tasks):
386387
if task:
387388
run_python_unittests(python_gvm(["sandboxed"]), args=["--llvm.managed"])
388389

390+
with Task('GraalPython multi-context unittests', tasks, tags=[GraalPythonTags.unittest_multi]) as task:
391+
if task:
392+
run_python_unittests(python_gvm(), args=["-multi-context"])
393+
389394
with Task('GraalPython Jython emulation tests', tasks, tags=[GraalPythonTags.unittest_jython]) as task:
390395
if task:
391396
run_python_unittests(python_gvm(), args=["--python.EmulateJython"], paths=["test_interop.py"])

mx.graalpython/suite.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,15 +44,15 @@
4444
},
4545
{
4646
"name": "sulong",
47-
"version": "32e0341180c0b5157850fb6c385221cf54a41541",
47+
"version": "4354931603c8c632ec0a168b0f1b808416230d89",
4848
"subdir": True,
4949
"urls": [
5050
{"url": "https://github.com/oracle/graal", "kind": "git"},
5151
]
5252
},
5353
{
5454
"name": "regex",
55-
"version": "32e0341180c0b5157850fb6c385221cf54a41541",
55+
"version": "4354931603c8c632ec0a168b0f1b808416230d89",
5656
"subdir": True,
5757
"urls": [
5858
{"url": "https://github.com/oracle/graal", "kind": "git"},

0 commit comments

Comments
 (0)