lua: string metatable, high-byte chars, multi-return truthy, perf

This commit is contained in:
2026-04-25 11:15:12 +00:00
parent dd47fa8a0b
commit 8ca5c8052d
7 changed files with 196 additions and 121 deletions

View File

@@ -1,33 +1,25 @@
{
"totals": {
"pass": 1,
"fail": 9,
"timeout": 6,
"pass": 3,
"fail": 8,
"timeout": 5,
"skip": 8,
"total": 24,
"runnable": 16,
"pass_rate": 6.2
"pass_rate": 18.8
},
"top_failure_modes": [
[
"timeout",
6
"other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"assertion failed!\\\\\\\"\\",
7
],
[
"other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"assertion failed!\\\\\\\"\\",
"timeout",
5
],
[
"other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"lua: attempt to call non-functio",
2
],
[
"other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"lua: module 'C' not found\\\\\\\"\\",
1
],
[
"undefined symbol: fat\\",
1
]
],
"results": [
@@ -47,19 +39,19 @@
"name": "attrib.lua",
"status": "fail",
"reason": "other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"lua: module 'C' not found\\\\\\\"\\",
"ms": 6174
"ms": 6616
},
{
"name": "big.lua",
"status": "timeout",
"reason": "per-test timeout",
"ms": 8007
"ms": 8008
},
{
"name": "calls.lua",
"status": "fail",
"reason": "undefined symbol: fat\\",
"ms": 5270
"status": "timeout",
"reason": "per-test timeout",
"ms": 8006
},
{
"name": "checktable.lua",
@@ -71,7 +63,7 @@
"name": "closure.lua",
"status": "timeout",
"reason": "per-test timeout",
"ms": 8006
"ms": 8000
},
{
"name": "code.lua",
@@ -81,9 +73,9 @@
},
{
"name": "constructs.lua",
"status": "timeout",
"reason": "per-test timeout",
"ms": 8007
"status": "fail",
"reason": "other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"assertion failed!\\\\\\\"\\",
"ms": 7429
},
{
"name": "db.lua",
@@ -95,13 +87,13 @@
"name": "errors.lua",
"status": "fail",
"reason": "other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"assertion failed!\\\\\\\"\\",
"ms": 4731
"ms": 3517
},
{
"name": "events.lua",
"status": "timeout",
"reason": "per-test timeout",
"ms": 8007
"status": "fail",
"reason": "other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"assertion failed!\\\\\\\"\\",
"ms": 7893
},
{
"name": "files.lua",
@@ -119,13 +111,13 @@
"name": "literals.lua",
"status": "fail",
"reason": "other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"assertion failed!\\\\\\\"\\",
"ms": 1996
"ms": 5676
},
{
"name": "locals.lua",
"status": "fail",
"reason": "other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"lua: attempt to call non-functio",
"ms": 1785
"reason": "other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"assertion failed!\\\\\\\"\\",
"ms": 1829
},
{
"name": "main.lua",
@@ -135,9 +127,9 @@
},
{
"name": "math.lua",
"status": "fail",
"reason": "other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"lua: attempt to call non-functio",
"ms": 4610
"status": "pass",
"reason": "",
"ms": 4512
},
{
"name": "nextvar.lua",
@@ -149,31 +141,31 @@
"name": "pm.lua",
"status": "fail",
"reason": "other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"assertion failed!\\\\\\\"\\",
"ms": 7860
"ms": 6665
},
{
"name": "sort.lua",
"status": "timeout",
"reason": "per-test timeout",
"ms": 8003
"ms": 8007
},
{
"name": "strings.lua",
"status": "fail",
"reason": "other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"assertion failed!\\\\\\\"\\",
"ms": 4636
"ms": 4488
},
{
"name": "vararg.lua",
"status": "fail",
"reason": "other: Unhandled exception: \\\"Unhandled exception: \\\\\\\"assertion failed!\\\\\\\"\\",
"ms": 2770
"status": "pass",
"reason": "",
"ms": 2734
},
{
"name": "verybig.lua",
"status": "pass",
"reason": "",
"ms": 1319
"ms": 612
}
]
}