2
0
mirror of https://github.com/Laupetin/OpenAssetTools.git synced 2026-01-13 12:11:50 +00:00

chore: remove ifdefs for disabling certain system tests

* Previously reading written zones was disabled
* Reenable it to test for success in writing correct zones
This commit is contained in:
Jan Laupetin
2026-01-05 10:42:37 +00:00
parent 3fb4dc452e
commit 2d1cfbf43d
7 changed files with 0 additions and 21 deletions

View File

@@ -46,8 +46,6 @@ namespace
REQUIRE(linkerResult);
// x64 for now produces invalid zones, don't try to load them yet
#ifdef ARCH_x86
const auto expectedZonePath = (fs::path(outputPath) / "SimpleZoneIW4.ff").string();
auto maybeZone = ZoneLoading::LoadZone(expectedZonePath, std::nullopt);
REQUIRE(maybeZone);
@@ -60,6 +58,5 @@ namespace
REQUIRE(zone->m_name == "SimpleZoneIW4");
REQUIRE(pools->GetTotalAssetCount() == 1);
REQUIRE(pools->m_raw_file->GetAsset("SimpleZone.txt"));
#endif
}
} // namespace