diff options
author | kleines Filmröllchen <filmroellchen@serenityos.org> | 2023-03-14 20:29:10 +0100 |
---|---|---|
committer | Linus Groh <mail@linusgroh.de> | 2023-03-19 14:15:35 +0000 |
commit | c7e963edde5794681146ad0f05dd3d62b5d898e6 (patch) | |
tree | 49b982909a37ea401e58079b2bbea656c7c99852 /Tests | |
parent | 73a367a00a74b7ddcbaa4114026bee97dffc17c8 (diff) | |
download | serenity-c7e963edde5794681146ad0f05dd3d62b5d898e6.zip |
Tests: Correct FLAC spec test paths
This makes the path consistent with Lagom in the next commit, so that
the test binary doesn't need special cases for the two platforms.
Diffstat (limited to 'Tests')
-rw-r--r-- | Tests/LibAudio/CMakeLists.txt | 2 | ||||
-rw-r--r-- | Tests/LibAudio/TestFLACSpec.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
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<IterationDecision> { + (void)Core::Directory::for_each_entry("./FLAC/SpecTests"sv, Core::DirIterator::Flags::SkipParentAndBaseDir, [](auto const& entry, auto const& directory) -> ErrorOr<IterationDecision> { 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( |