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 264bd4dfeb
commit 7ded498c0d
3 changed files with 11 additions and 3 deletions

View File

@@ -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()());
}

View File

@@ -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();
}

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 []
(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)))))
(js.Lib.eval jsToEval)))))
)