Skip to content

Commit f28ce21

Browse files
committed
[GR-52410] Disable jbang test as hot fix for problems with jcoding
1 parent d442f79 commit f28ce21

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

graalpython/com.oracle.graal.python.test/src/tests/standalone/test_jbang_integration.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,8 +229,7 @@ def test_graalpy_template(self):
229229
self.assertTrue(result == 0, f"Execution failed with code {result}\n command: {command}\n stdout: {out}\n")
230230
self.assertTrue(expected_text in out, f"Expected text:\n{expected_text}\nbut in stdout was:\n{out}")
231231

232-
@unittest.skipUnless(False, "disabled the test until we will resolve the problem with maven and jcoding")
233-
# @unittest.skipUnless(is_enabled, "ENABLE_JBANG_INTEGRATION_UNITTESTS is not true")
232+
@unittest.skipUnless(is_enabled, "ENABLE_JBANG_INTEGRATION_UNITTESTS is not true")
234233
@unittest.skipUnless('win32' not in sys.platform, "Currently the jbang native image on Win gate fails.")
235234
def test_graalpy_template_native(self):
236235
template_name = "graalpy"

mx.graalpython/mx_graalpython.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1500,7 +1500,7 @@ def graalpython_gate_runner(args, tasks):
15001500
if task:
15011501
env = {
15021502
'ENABLE_STANDALONE_UNITTESTS': 'true',
1503-
'ENABLE_JBANG_INTEGRATION_UNITTESTS': 'true',
1503+
'ENABLE_JBANG_INTEGRATION_UNITTESTS': 'false',
15041504
'JAVA_HOME': graalvm_jdk(),
15051505
'PYTHON_STANDALONE_HOME': graalpy_standalone_home('jvm')
15061506
}

0 commit comments

Comments
 (0)