From 7ded498c0d83555617a57be8b181dbfb59e436c1 Mon Sep 17 00:00:00 2001 From: Nat Quayle Nelson Date: Tue, 27 Jul 2021 09:06:10 -0600 Subject: [PATCH] skip compilertools tests on C# until a haxe bug is fixed --- src/test/cases/CompilerToolsTestCase.hx | 4 +++- src/test/cases/ExternTestCase.hx | 4 +++- src/test/cases/ExternTestCase.kiss | 6 +++++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/src/test/cases/CompilerToolsTestCase.hx b/src/test/cases/CompilerToolsTestCase.hx index dd10af7..72b6cd6 100644 --- a/src/test/cases/CompilerToolsTestCase.hx +++ b/src/test/cases/CompilerToolsTestCase.hx @@ -10,7 +10,9 @@ import haxe.macro.Context; #end 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() { Assert.equals("Hello world!", _testCompileHelloWorldJs()()); } diff --git a/src/test/cases/ExternTestCase.hx b/src/test/cases/ExternTestCase.hx index d77215e..220d909 100644 --- a/src/test/cases/ExternTestCase.hx +++ b/src/test/cases/ExternTestCase.hx @@ -7,7 +7,9 @@ import kiss.Prelude; @:build(kiss.Kiss.build()) 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() { _testExternPython(); } diff --git a/src/test/cases/ExternTestCase.kiss b/src/test/cases/ExternTestCase.kiss index 8478b90..aae3e2b 100644 --- a/src/test/cases/ExternTestCase.kiss +++ b/src/test/cases/ExternTestCase.kiss @@ -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 [] (Assert.isTrue (#extern Bool python [:String passingString "Hello python!"] @@ -7,4 +10,5 @@ (Assert.equals 18 (let [jsToEval "5+6+7"] (#extern Int js [:String jsToEval _] - (js.Lib.eval jsToEval))))) \ No newline at end of file + (js.Lib.eval jsToEval))))) +) \ No newline at end of file