ladybird/Tests/LibJS/CMakeLists.txt
davidot b40308d0a4 Tests+LibJS: Add very simple bytecode LibJS tests
These tests are not meant as a replacement to test-js with the -b option
but are meant to test simple cases until that works.
Before this it was very easy to accidentally break bytecode since no
tests were run in bytecode mode. This hopefully makes it easier to spot
such regressions :^).
2022-01-25 23:26:14 +00:00

11 lines
337 B
CMake

serenity_testjs_test(test-js.cpp test-js)
install(TARGETS test-js RUNTIME DESTINATION bin OPTIONAL)
link_with_unicode_data(test-js)
serenity_test(test-invalid-unicode-js.cpp LibJS LIBS LibJS)
link_with_unicode_data(test-invalid-unicode-js)
serenity_test(test-bytecode-js.cpp LibJS LIBS LibJS)
link_with_unicode_data(test-bytecode-js)