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

Meta: Specify a working directory for the FLAC spec test on Lagom

The serenity_test function cannot set this up as it has no purpose on
Serenity itself.
This commit is contained in:
kleines Filmröllchen 2023-03-14 19:52:16 +01:00 committed by Linus Groh
parent c7e963edde
commit 3e2e94bd01

View file

@ -578,7 +578,6 @@ if (BUILD_LAGOM)
# LibTest tests from Tests/ # LibTest tests from Tests/
set(TEST_DIRECTORIES set(TEST_DIRECTORIES
AK AK
LibAudio
LibCrypto LibCrypto
LibCompress LibCompress
LibGL LibGL
@ -604,6 +603,9 @@ if (BUILD_LAGOM)
# LibTLS needs a special working directory to find cacert.pem # LibTLS needs a special working directory to find cacert.pem
lagom_test(../../Tests/LibTLS/TestTLSHandshake.cpp LibTLS LIBS LibTLS LibCrypto) lagom_test(../../Tests/LibTLS/TestTLSHandshake.cpp LibTLS LIBS LibTLS LibCrypto)
# The FLAC tests need a special working directory to find the test files
lagom_test(../../Tests/LibAudio/TestFLACSpec.cpp LIBS LibAudio WORKING_DIRECTORY "${FLAC_TEST_PATH}/..")
# LibCore # LibCore
lagom_test(../../Tests/LibCore/TestLibCoreIODevice.cpp WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../Tests/LibCore) lagom_test(../../Tests/LibCore/TestLibCoreIODevice.cpp WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../Tests/LibCore)