summaryrefslogtreecommitdiff
path: root/Meta/Lagom/CMakeLists.txt
diff options
context:
space:
mode:
authorkleines Filmröllchen <filmroellchen@serenityos.org>2023-03-14 19:52:16 +0100
committerLinus Groh <mail@linusgroh.de>2023-03-19 14:15:35 +0000
commit3e2e94bd01204336eb6a81242d88adc747402f89 (patch)
tree7721b0e4d835fb5a8c6a035702d0fb29d8166990 /Meta/Lagom/CMakeLists.txt
parentc7e963edde5794681146ad0f05dd3d62b5d898e6 (diff)
downloadserenity-3e2e94bd01204336eb6a81242d88adc747402f89.zip
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.
Diffstat (limited to 'Meta/Lagom/CMakeLists.txt')
-rw-r--r--Meta/Lagom/CMakeLists.txt4
1 files changed, 3 insertions, 1 deletions
diff --git a/Meta/Lagom/CMakeLists.txt b/Meta/Lagom/CMakeLists.txt
index a2b47181c7..fcea6058f1 100644
--- a/Meta/Lagom/CMakeLists.txt
+++ b/Meta/Lagom/CMakeLists.txt
@@ -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)