mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 16:57:46 +00:00
LibJS: Add the test-test262 utility
This allows running of test262 (like) tests with any runner. And thus allows running the full test262 suite on Serenity itself. The functionality of test-test262 is intentionally limited at first. It does support: - Progress updates including the special serenity terminal commands - Outputting a per-file, to compare against other runs - Passing any number of parameters to the runner - Setting the batch size of the amount of tests per runner process - Outputting a summary of the test results
This commit is contained in:
parent
aff51f7cfd
commit
cea9464961
2 changed files with 439 additions and 0 deletions
|
@ -20,3 +20,11 @@ add_executable(test262-runner test262-runner.cpp)
|
|||
target_link_libraries(test262-runner LibJS LibCore)
|
||||
link_with_locale_data(test262-runner)
|
||||
install(TARGETS test262-runner RUNTIME DESTINATION bin OPTIONAL)
|
||||
|
||||
serenity_component(
|
||||
test-test262
|
||||
TARGETS test-test262
|
||||
)
|
||||
add_executable(test-test262 test-test262.cpp)
|
||||
target_link_libraries(test-test262 LibMain LibCore)
|
||||
install(TARGETS test-test262 RUNTIME DESTINATION bin OPTIONAL)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue