diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-01 04:50:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-01 04:50:26 +0300 |
commit | 7df01a8695e46e7e8cce603782f0e16caf54169b (patch) | |
tree | 030a0125429c9605c24ad74e3d523fd900f155cd /src/gui/windowmanager_unittest.cc | |
parent | 0f172abb004bed203f8bf329e4f43eb174a8a58c (diff) | |
download | plus-7df01a8695e46e7e8cce603782f0e16caf54169b.tar.gz plus-7df01a8695e46e7e8cce603782f0e16caf54169b.tar.bz2 plus-7df01a8695e46e7e8cce603782f0e16caf54169b.tar.xz plus-7df01a8695e46e7e8cce603782f0e16caf54169b.zip |
Fix tests running without physfs.
Diffstat (limited to 'src/gui/windowmanager_unittest.cc')
-rw-r--r-- | src/gui/windowmanager_unittest.cc | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/gui/windowmanager_unittest.cc b/src/gui/windowmanager_unittest.cc index 902068376..38471370d 100644 --- a/src/gui/windowmanager_unittest.cc +++ b/src/gui/windowmanager_unittest.cc @@ -690,6 +690,10 @@ TEST_CASE("Windows tests", "windowmanager") delete2(inventoryHandler); delete2(charServerHandler); delete2(playerHandler); + VirtFs::removeDirFromSearchPath("data"); + VirtFs::removeDirFromSearchPath("../data"); + VirtFs::removeDirFromSearchPath("data/test"); + VirtFs::removeDirFromSearchPath("../data/test"); delete2(logger); // VirtFs::deinit(); |