1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:47:45 +00:00

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.
This commit is contained in:
kleines Filmröllchen 2023-03-14 20:29:10 +01:00 committed by Linus Groh
parent 73a367a00a
commit c7e963edde
2 changed files with 2 additions and 2 deletions

View file

@ -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(