diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-05 02:25:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-05 02:25:35 +0300 |
commit | 91093c085c143cd5612d5980c1894d8bd80cdeef (patch) | |
tree | 8b18b408adf59b20feebebd1b864b98b261fb715 | |
parent | 54fd7526e6a1d2d161fda10bccd609ec078b8fa9 (diff) | |
download | manaverse-91093c085c143cd5612d5980c1894d8bd80cdeef.tar.gz manaverse-91093c085c143cd5612d5980c1894d8bd80cdeef.tar.bz2 manaverse-91093c085c143cd5612d5980c1894d8bd80cdeef.tar.xz manaverse-91093c085c143cd5612d5980c1894d8bd80cdeef.zip |
Use dummy SDL video driver in unit tests.
-rw-r--r-- | src/animatedsprite_unittest.cc | 2 |
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 = "/"; |