]> git.kaiwu.me - quickjs.git/commit
Run test262 tests in CI
authorNick Vatamaniuc <vatamane@gmail.com>
Tue, 13 May 2025 03:35:22 +0000 (23:35 -0400)
committerNick Vatamaniuc <vatamane@gmail.com>
Mon, 29 Sep 2025 18:02:31 +0000 (14:02 -0400)
commitfb14cc6b404d8b264e964a979f9ccd2190aa27b1
treef5834704fde18792ff64c3b3bf183f31f19f96b6
parentc3e5ae20087aba2a1bf2d96776f44d3a72c128c4
Run test262 tests in CI

Run test262 tests for Linux, macOS and Cosmopolitan

Add a Makefile `test2-bootstrap` helper to clone and patch test262 tests at
a particular commit. Running with the latest commit noticed a few tests were
failing and added them to the errors list.

The CI environment, especially for macOS, was a bit more unpredictable and was
failing in atomics tests due to lower timeouts in the `atomicsHelper` so double
the timeouts. The time didn't worsen too much. It still takes about 2-3 min.
.github/workflows/ci.yml
Makefile
test262.conf
tests/test262.patch