1
1
Fork
You've already forked test262-runner-prototype
0
No description
  • Zig 91.8%
  • JavaScript 8.2%
Find a file
2026年04月19日 19:40:37 -05:00
src run tests in strict and non-strict modes 2026年04月19日 19:37:05 -05:00
.gitignore initial commit 2026年04月15日 17:24:49 -05:00
build.zig mostly working async and module tests 2026年04月19日 13:14:52 -05:00
build.zig.zon run tests in strict and non-strict modes 2026年04月19日 19:37:05 -05:00
README.md update README for latest version 2026年04月19日 19:40:37 -05:00

test262 runner zig prototype

Testing out different ways to run test262 tests for Kiesel using the new Io interface. The runners are not feature-complete, so the results are almost always off from the real answers. Example usage:

$ zig build test-threaded -Dkiesel=/path/to/kiesel -Dtest-prefix=built-ins/String
[551] test262 runner (threaded)
├─ built-ins/String/prototype/padEnd/function-name.js
├─ built-ins/String/prototype/padEnd/fill-string-non-strings.js
├─ built-ins/String/prototype/isWellFormed/name.js
├─ built-ins/String/prototype/padEnd/function-length.js
├─ built-ins/String/prototype/isWellFormed/length.js
├─ built-ins/String/prototype/padEnd/not-a-constructor.js
├─ built-ins/String/prototype/padEnd/fill-string-omitted.js
├─ built-ins/String/prototype/isWellFormed/prop-desc.js
├─ built-ins/String/prototype/padEnd/normal-operation.js
├─ built-ins/String/prototype/padEnd/function-property-descriptor.js
├─ built-ins/String/prototype/padEnd/fill-string-empty.js
└─ built-ins/String/prototype/padEnd/exception-not-object-coercible.js
... a bit later ...
info: 1222/1230 passed (99.350%)
info: ran tests for 2.446s