mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 07:37:46 +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:
parent
f06e7dd13f
commit
b40308d0a4
3 changed files with 127 additions and 1 deletions
|
@ -604,8 +604,9 @@ if (BUILD_LAGOM)
|
|||
)
|
||||
set_tests_properties(JS PROPERTIES ENVIRONMENT SERENITY_SOURCE_DIR=${SERENITY_PROJECT_ROOT})
|
||||
|
||||
# test-invalid-unicode-js
|
||||
# Extra tests from Tests/LibJS
|
||||
lagom_test(../../Tests/LibJS/test-invalid-unicode-js.cpp LIBS LagomJS)
|
||||
lagom_test(../../Tests/LibJS/test-bytecode-js.cpp LIBS LagomJS)
|
||||
|
||||
# Markdown
|
||||
include(commonmark_spec)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue