skip compilertools tests on C# until a haxe bug is fixed
This commit is contained in:
@@ -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()());
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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)))))
|
||||||
|
)
|
||||||
Reference in New Issue
Block a user