diff --git a/Tests/LibAudio/CMakeLists.txt b/Tests/LibAudio/CMakeLists.txt index 5e70e6c524..605e855bd9 100644 --- a/Tests/LibAudio/CMakeLists.txt +++ b/Tests/LibAudio/CMakeLists.txt @@ -6,4 +6,4 @@ foreach(source IN LISTS TEST_SOURCES) serenity_test("${source}" LibAudio LIBS LibAudio) endforeach() -install(DIRECTORY ${FLAC_SPEC_TEST_PATH} DESTINATION usr/Tests/LibAudio) +install(DIRECTORY ${FLAC_SPEC_TEST_PATH} DESTINATION usr/Tests/LibAudio/FLAC) diff --git a/Tests/LibAudio/TestFLACSpec.cpp b/Tests/LibAudio/TestFLACSpec.cpp index cbecc3f815..7d3545fc47 100644 --- a/Tests/LibAudio/TestFLACSpec.cpp +++ b/Tests/LibAudio/TestFLACSpec.cpp @@ -13,7 +13,7 @@ struct DiscoverFLACTestsHack { DiscoverFLACTestsHack() { // FIXME: Also run (our own) tests in this directory. - (void)Core::Directory::for_each_entry("./SpecTests"sv, Core::DirIterator::Flags::SkipParentAndBaseDir, [](auto const& entry, auto const& directory) -> ErrorOr { + (void)Core::Directory::for_each_entry("./FLAC/SpecTests"sv, Core::DirIterator::Flags::SkipParentAndBaseDir, [](auto const& entry, auto const& directory) -> ErrorOr { auto path = LexicalPath::join(directory.path().string(), entry.name); if (path.extension() == "flac"sv) { Test::add_test_case_to_suite(adopt_ref(*new ::Test::TestCase(