Skip to content

Commit

Permalink
[Test] Remove extraction tests when testing for format detection
Browse files Browse the repository at this point in the history
  • Loading branch information
rikyoz committed Nov 7, 2023
1 parent 286e257 commit 32435ac
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions tests/src/test_bitarchivereader.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1025,9 +1025,7 @@ TEST_CASE( "BitArchiveReader: Format detection of archives", "[bitarchivereader]
if ( test.format != BitFormat::Mslz && test.extension != "part2.rar" && test.extension != "part3.rar" ) {
#endif
REQUIRE_NOTHROW( reader.test() );
if ( test.format != BitFormat::Ppmd ) { // TODO: Check why Ppmd extraction fails!
REQUIRE_ARCHIVE_EXTRACTS( reader );
}
// NOTE: Testing extraction of all these formats takes too much time and CTest timeouts
}
}

Expand All @@ -1045,9 +1043,7 @@ TEST_CASE( "BitArchiveReader: Format detection of archives", "[bitarchivereader]
if ( test.format != BitFormat::Mslz && test.extension.find( "part" ) != 0 ) {
#endif
REQUIRE_NOTHROW( reader.test() );
if ( test.format != BitFormat::Ppmd ) { // TODO: Check why Ppmd extraction fails!
REQUIRE_ARCHIVE_EXTRACTS( reader );
}
// NOTE: Testing extraction of all these formats takes too much time and CTest timeouts
}
}
}
Expand Down

0 comments on commit 32435ac

Please sign in to comment.