summaryrefslogtreecommitdiff
path: root/src/utils/dumplibs_unittest.cc
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-28 04:10:23 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-28 04:10:23 +0300
commit6ff6d6928328ff2110f028a374ade49415d5a0ba (patch)
tree4337ddc2e83368a2d606b97df08dc206e002ac67 /src/utils/dumplibs_unittest.cc
parent475aea387f846561d5029807f804ff789d59e69f (diff)
downloadmanaverse-6ff6d6928328ff2110f028a374ade49415d5a0ba.tar.gz
manaverse-6ff6d6928328ff2110f028a374ade49415d5a0ba.tar.bz2
manaverse-6ff6d6928328ff2110f028a374ade49415d5a0ba.tar.xz
manaverse-6ff6d6928328ff2110f028a374ade49415d5a0ba.zip
Remove physfs support.
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;