diff --git a/test/testArchive.hpp b/test/testArchive.hpp index c35f0ca..4db2898 100644 --- a/test/testArchive.hpp +++ b/test/testArchive.hpp @@ -13,6 +13,8 @@ #undef __class__ #define __class__ "etktest" +#ifdef ETK_BUILD_MINIZIP + TEST(TestEtkArchive, CreationWrong) { etk::Archive* tmpArchive = etk::Archive::load("nonExistantFile.zip"); EXPECT_NE(tmpArchive, nullptr); @@ -24,4 +26,6 @@ TEST(TestEtkArchive, Display) { ASSERT_NEQ(tmpArchive, nullptr); tmpArchive->display(); } -*/ \ No newline at end of file +*/ + +#endif