summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-05 02:25:35 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-05 02:25:35 +0300
commit91093c085c143cd5612d5980c1894d8bd80cdeef (patch)
tree8b18b408adf59b20feebebd1b864b98b261fb715 /src
parent54fd7526e6a1d2d161fda10bccd609ec078b8fa9 (diff)
downloadmanaplus-91093c085c143cd5612d5980c1894d8bd80cdeef.tar.gz
manaplus-91093c085c143cd5612d5980c1894d8bd80cdeef.tar.bz2
manaplus-91093c085c143cd5612d5980c1894d8bd80cdeef.tar.xz
manaplus-91093c085c143cd5612d5980c1894d8bd80cdeef.zip
Use dummy SDL video driver in unit tests.
Diffstat (limited to 'src')
-rw-r--r--src/animatedsprite_unittest.cc2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/animatedsprite_unittest.cc b/src/animatedsprite_unittest.cc
index 6555bf907..df9104e31 100644
--- a/src/animatedsprite_unittest.cc
+++ b/src/animatedsprite_unittest.cc
@@ -36,6 +36,8 @@
TEST_CASE("AnimatedSprite tests", "animatedsprite")
{
+ Client::setEnv("SDL_VIDEODRIVER", "dummy");
+
client = new Client;
PHYSFS_init("manaplus");
dirSeparator = "/";