Put the gen 1 compression tests behind a config (#7033)

Co-authored-by: Hedara <hedara90@gmail.com>
This commit is contained in:
hedara90 2025-06-01 20:59:00 +02:00 committed by GitHub
parent 3565c7a8a6
commit ec15948ea8
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -8,6 +8,8 @@
#include "config/test.h"
#include "config/general.h"
#define ENABLE_ALL_COMPRESSION_TESTS FALSE
#ifdef NDEBUG
void CycleCountStart();
u32 CycleCountEnd();
@ -1073,6 +1075,7 @@ TEST("Compression test: table generation 32 32")
EXPECT_EQ(areEqual, TRUE);
}
#if ENABLE_ALL_COMPRESSION_TESTS
TEST("Compression test: Bulbasaur Smol")
{
static const u32 origFile[] = INCBIN_U32("graphics/pokemon/bulbasaur/anim_front.4bpp");
@ -6221,6 +6224,7 @@ TEST("Compression test: Mew fastSmol")
bool32 areEqual = DecompressImgPrintResults(compFile, origFile, "Mew", COMPRESSION_FASTSMOL, sizeof(compFile));
EXPECT_EQ(areEqual, TRUE);
}
#endif // ENABLE_ALL_COMPRESSION_TESTS
TEST("Compression test: tilemap small smolTM")
{