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
Notes: sideshowbarker 2024-07-17 07:09:53 +09:00

View file

@ -578,7 +578,6 @@ if (BUILD_LAGOM)
# LibTest tests from Tests/
set(TEST_DIRECTORIES
AK
LibAudio
LibCrypto
LibCompress
LibGL
@ -604,6 +603,9 @@ if (BUILD_LAGOM)
# LibTLS needs a special working directory to find cacert.pem
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
lagom_test(../../Tests/LibCore/TestLibCoreIODevice.cpp WORKING_DIRECTORY ${CMAKE_CURRENT_SOURCE_DIR}/../../Tests/LibCore)