mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-10-24 17:09:43 +00:00
49 lines
983 B
Text
49 lines
983 B
Text
shared_library("LibTest") {
|
|
output_name = "test"
|
|
include_dirs = [ "//Userland/Libraries" ]
|
|
sources = [
|
|
"CrashTest.cpp",
|
|
"CrashTest.h",
|
|
"Macros.h",
|
|
"Randomized/Chunk.h",
|
|
"Randomized/Generator.h",
|
|
"Randomized/RandomRun.h",
|
|
"Randomized/RandomnessSource.h",
|
|
"Randomized/Shrink.h",
|
|
"Randomized/ShrinkCommand.h",
|
|
"Results.h",
|
|
"TestCase.h",
|
|
"TestRunner.h",
|
|
"TestRunnerUtil.h",
|
|
"TestSuite.cpp",
|
|
"TestSuite.h",
|
|
]
|
|
|
|
deps = [
|
|
"//AK",
|
|
"//Userland/Libraries/LibCore",
|
|
]
|
|
|
|
output_name = "test"
|
|
|
|
testonly = true
|
|
}
|
|
|
|
source_set("test_main") {
|
|
include_dirs = [ "//Userland/Libraries" ]
|
|
sources = [ "TestMain.cpp" ]
|
|
deps = [ "//AK" ]
|
|
public_deps = [ ":LibTest" ]
|
|
testonly = true
|
|
}
|
|
|
|
source_set("test_js_main") {
|
|
include_dirs = [ "//Userland/Libraries" ]
|
|
sources = [
|
|
"JavaScriptTestRunner.h",
|
|
"JavaScriptTestRunnerMain.cpp",
|
|
]
|
|
deps = [ "//AK" ]
|
|
public_deps = [ ":LibTest" ]
|
|
testonly = true
|
|
}
|