summaryrefslogtreecommitdiff
path: root/src/utils/dumplibs_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/dumplibs_unittest.cc')
-rw-r--r--src/utils/dumplibs_unittest.cc27
1 files changed, 0 insertions, 27 deletions
diff --git a/src/utils/dumplibs_unittest.cc b/src/utils/dumplibs_unittest.cc
index 4d0f55c7d..1833fe714 100644
--- a/src/utils/dumplibs_unittest.cc
+++ b/src/utils/dumplibs_unittest.cc
@@ -31,12 +31,6 @@ PRAGMACLANG6(GCC diagnostic ignored "-Wold-style-cast")
#include <SDL_net.h>
PRAGMACLANG6(GCC diagnostic pop)
#include <SDL_ttf.h>
-#ifdef USE_PHYSFS
-PRAGMA45(GCC diagnostic push)
-PRAGMA45(GCC diagnostic ignored "-Wlong-long")
-#include <physfs.h>
-PRAGMA45(GCC diagnostic pop)
-#endif // USE_PHYSFS
#include <zlib.h>
#include "debug.h"
@@ -52,27 +46,6 @@ TEST_CASE("dumplibs tests")
REQUIRE(build == link);
}
-#ifdef USE_PHYSFS
- SECTION("physfs")
- {
- PHYSFS_Version buildVersion;
- PHYSFS_Version linkVersion;
- PHYSFS_VERSION(&buildVersion);
- PHYSFS_getLinkedVersion(&linkVersion);
-
- const std::string build = strprintf("%d.%d.%d",
- buildVersion.major,
- buildVersion.minor,
- buildVersion.patch);
- const std::string link = strprintf("%d.%d.%d",
- linkVersion.major,
- linkVersion.minor,
- linkVersion.patch);
-
- REQUIRE(build == link);
- }
-#endif // USE_PHYSFS
-
SECTION("sdl")
{
const SDL_version *linkVersion = nullptr;