mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-08 05:27:14 +09:00

We now explicitly enabling support for the minimum libraries needed to build and run the AK testsuite. 81/82 tests are running and passing. The exception is LexicalPath, as some path behaviour on Windows is different than Unix, so the current tests will have lots of platform specific failures. The implementer of LexicalPathWindows recommended windows-specific tests here, so I will do that in a follow up.
19 lines
554 B
CMake
19 lines
554 B
CMake
add_library(LibTestMain OBJECT TestMain.cpp AssertionHandler.cpp)
|
|
|
|
target_link_libraries(LibTestMain PUBLIC GenericClangPlugin)
|
|
|
|
set(SOURCES
|
|
TestSuite.cpp
|
|
)
|
|
|
|
add_library(LibTest ${SOURCES})
|
|
lagom_generate_export_header(LibTest test)
|
|
target_link_libraries(LibTest PRIVATE AK LibCore LibFileSystem)
|
|
set_target_properties(LibTest PROPERTIES OUTPUT_NAME lagom-test)
|
|
|
|
# FIXME: Increase support for building targets on Windows
|
|
if (WIN32 AND ENABLE_WINDOWS_CI)
|
|
return()
|
|
endif()
|
|
|
|
add_library(JavaScriptTestRunnerMain OBJECT JavaScriptTestRunnerMain.cpp)
|