From 3e2e94bd01204336eb6a81242d88adc747402f89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?kleines=20Filmr=C3=B6llchen?= Date: Tue, 14 Mar 2023 19:52:16 +0100 Subject: 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. --- Meta/Lagom/CMakeLists.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Meta/Lagom/CMakeLists.txt') 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) -- cgit v1.2.3