Enable more tests and narrow ignores

This commit is contained in:
sergeych committed 2026-01-29 03:02:26 +03:00
1 parent f2b99fe23b
commit f788f79d4b
8 files changed
+9 -9

No files matched your search

+3 -1
View File
@@ -31,7 +31,6 @@ import kotlin.test.assertContentEquals
import kotlin.test.assertEquals
import kotlin.test.assertTrue
@Ignore("TODO(bytecode-only): uses fallback (unary minus, MI, simple types)")
class LynonTests {
@Test
@@ -344,6 +343,7 @@ class LynonTests {
@Test
@Ignore("TODO(bytecode-only): unary minus regression")
fun testUnaryMinus() = runTest {
eval(
"""
@@ -354,6 +354,7 @@ class LynonTests {
}
@Test
@Ignore("TODO(bytecode-only): simple types regression")
fun testSimpleTypes() = runTest {
testScope().eval(
"""
@@ -704,6 +705,7 @@ class Wallet( id, ownerKey, balance=0, createdAt=Instant.now().truncateToSecond(
@Test
@Ignore("TODO(bytecode-only): MI serialization fallback")
fun testMISerialization() = runTest {
val s = testScope()
s.eval("""
@@ -41,7 +41,6 @@ suspend fun executeSampleTests(fileName: String) {
}
}
@Ignore("TODO(bytecode-only): uses fallback")
class SamplesTest {
@Test
@@ -27,7 +27,7 @@ import kotlin.test.assertEquals
* Additional JVM-only fast functional tests migrated from ScriptTest to avoid MPP runs.
* Keep each test fast (<1s) and with clear assertions.
*/
@Ignore("TODO(bytecode-only): uses fallback (logical ops/binarySearch)")
@Ignore("TODO(bytecode-only): uses fallback (binarySearch/logical chains)")
class ScriptSubsetJvmTest_Additions {
private suspend fun evalInt(code: String): Long = (Scope().eval(code) as ObjInt).value
private suspend fun evalList(code: String): List<Any?> = (Scope().eval(code) as ObjList).list.map { (it as? ObjInt)?.value ?: it }
@@ -105,7 +105,7 @@ class ScriptSubsetJvmTest_Additions {
}
@Ignore("TODO(bytecode-only): uses fallback")
@Ignore("TODO(bytecode-only): hangs (while/continue?)")
class ScriptSubsetJvmTest_Additions2 {
private suspend fun evalInt(code: String): Long = (Scope().eval(code) as ObjInt).value