Fix math tests: run as a standalone test.

This commit is contained in:
Pavel Punegov
2020-06-26 21:02:29 +03:00
committed by Pavel Punegov
parent 5d0fbeb15a
commit b1f1cde535
+6 -3
View File
@@ -2365,17 +2365,20 @@ standaloneTest("custom_hook") {
source = "runtime/exceptions/custom_hook.kt" source = "runtime/exceptions/custom_hook.kt"
} }
task runtime_math_exceptions(type: KonanLocalTest) { standaloneTest("runtime_math_exceptions") {
enabled = (project.testTarget != 'wasm32') enabled = (project.testTarget != 'wasm32')
source = "stdlib_external/numbers/MathExceptionTest.kt" source = "stdlib_external/numbers/MathExceptionTest.kt"
flags = ['-tr']
} }
task runtime_math(type: KonanLocalTest) { standaloneTest("runtime_math") {
source = "stdlib_external/numbers/MathTest.kt" source = "stdlib_external/numbers/MathTest.kt"
flags = ['-tr']
} }
task runtime_math_harmony(type: KonanLocalTest) { standaloneTest("runtime_math_harmony") {
source = "stdlib_external/numbers/HarmonyMathTests.kt" source = "stdlib_external/numbers/HarmonyMathTests.kt"
flags = ['-tr']
} }
task catch3(type: KonanLocalTest) { task catch3(type: KonanLocalTest) {