1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 11:47:46 +00:00

Base+Utilities: Add run-tests program to run system tests with LibTest

This test program heavily pulls from the JavaScriptTestRunner/test-js,
but with a twist. Instead of loading JavaScript files into the current
process, constructing a JS environment for them, and executing test
suites/tests directly, run-tests posix_spawns each test file.

Test file stdout is written to a temp file, and only dumped to console
if the test fails or the verbose option is passed to the program. Unlike
test-js, times are always printed for every test executed for better
visibility in CI.
This commit is contained in:
Andrew Kaster 2021-06-27 14:22:25 -06:00 committed by Ali Mohammad Pur
parent 601c9e89de
commit cc0a376c95
5 changed files with 344 additions and 48 deletions

View file

@ -0,0 +1,7 @@
[Global]
SkipDirectories=Kernel/Legacy UserEmulator
SkipTests=stack-smash test-web
NotTestsPattern=.txt|.frm|.inc
[test-js]
Arguments=--show-progress=false