mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 15:57:35 +00:00
test262-runner: Overwrite __assertion_failed when compiling for Serenity
We also protect against recursive assert failures, for example due to being out of memory. With this change the runner now compiles and runs on Serenity :^).
This commit is contained in:
parent
e3fb5d227a
commit
ca5b91f9cc
2 changed files with 39 additions and 11 deletions
|
@ -11,3 +11,12 @@ 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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue