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

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 :^).
This commit is contained in:
davidot 2022-01-22 14:27:53 +01:00 committed by Linus Groh
parent f06e7dd13f
commit b40308d0a4
3 changed files with 127 additions and 1 deletions

View file

@ -5,3 +5,6 @@ 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)