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

Meta: Add test-js to the GN build

This commit is contained in:
Timothy Flynn 2023-11-16 12:49:59 -05:00 committed by Andrew Kaster
parent 3c5909f47e
commit 6e928e426a
2 changed files with 20 additions and 1 deletions

View file

@ -1,4 +1,7 @@
group("Tests") {
deps = [ "//Tests/AK" ]
deps = [
"//Tests/AK",
"//Tests/LibJS",
]
testonly = true
}

View file

@ -0,0 +1,16 @@
import("//Tests/unittest.gni")
unittest("test-js") {
use_js_main = true
include_dirs = [ "//Userland/Libraries" ]
sources = [ "test-js.cpp" ]
deps = [
"//Userland/Libraries/LibFileSystem",
"//Userland/Libraries/LibJS",
]
}
group("LibJS") {
deps = [ ":test-js" ]
testonly = true
}