skip compilertools tests on C# until a haxe bug is fixed

This commit is contained in:
2021-07-27 09:06:10 -06:00
parent c89d37fe33
commit 5dc3605fa1
3 changed files with 11 additions and 3 deletions

View File

@@ -10,7 +10,9 @@ import haxe.macro.Context;
#end #end
class CompilerToolsTestCase extends Test { class CompilerToolsTestCase extends Test {
#if (sys || hxnodejs) // Skip these tests on C# for now because they will fail due to this haxe bug:
// https://github.com/HaxeFoundation/haxe/issues/10332
#if ((sys || hxnodejs) && !cs)
function testCompileHelloWorldJs() { function testCompileHelloWorldJs() {
Assert.equals("Hello world!", _testCompileHelloWorldJs()()); Assert.equals("Hello world!", _testCompileHelloWorldJs()());
} }

View File

@@ -7,7 +7,9 @@ import kiss.Prelude;
@:build(kiss.Kiss.build()) @:build(kiss.Kiss.build())
class ExternTestCase extends Test { class ExternTestCase extends Test {
#if (sys || hxnodejs) // Skip these tests on C# for now because they will fail due to this haxe bug:
// https://github.com/HaxeFoundation/haxe/issues/10332
#if ((sys || hxnodejs) && !cs)
function testExternPython() { function testExternPython() {
_testExternPython(); _testExternPython();
} }

View File

@@ -1,3 +1,6 @@
// Skip these tests on C# for now because they will fail due to this haxe bug:
// https://github.com/HaxeFoundation/haxe/issues/10332
(#unless cs
(function _testExternPython [] (function _testExternPython []
(Assert.isTrue (Assert.isTrue
(#extern Bool python [:String passingString "Hello python!"] (#extern Bool python [:String passingString "Hello python!"]
@@ -8,3 +11,4 @@
(let [jsToEval "5+6+7"] (let [jsToEval "5+6+7"]
(#extern Int js [:String jsToEval _] (#extern Int js [:String jsToEval _]
(js.Lib.eval jsToEval))))) (js.Lib.eval jsToEval)))))
)