mirror of
https://github.com/RGBCube/serenity
synced 2025-05-22 14:35:07 +00:00

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
30 lines
930 B
CMake
30 lines
930 B
CMake
serenity_testjs_test(test-js.cpp test-js)
|
|
|
|
install(TARGETS test-js RUNTIME DESTINATION bin OPTIONAL)
|
|
link_with_locale_data(test-js)
|
|
|
|
serenity_test(test-invalid-unicode-js.cpp LibJS LIBS LibJS)
|
|
link_with_locale_data(test-invalid-unicode-js)
|
|
|
|
serenity_test(test-bytecode-js.cpp LibJS LIBS LibJS)
|
|
link_with_locale_data(test-bytecode-js)
|
|
|
|
serenity_test(test-value-js.cpp LibJS LIBS LibJS)
|
|
link_with_locale_data(test-value-js)
|
|
|
|
serenity_component(
|
|
test262-runner
|
|
TARGETS test262-runner
|
|
)
|
|
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)
|