summaryrefslogtreecommitdiff
path: root/src/test/testmain.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-20 23:05:30 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-20 23:05:30 +0300
commitec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6 (patch)
treef47956f1fb84a1a6f6ec73d347be186f2cc3e8c3 /src/test/testmain.cpp
parent54b1228263aeb48c766806c0391fbfdffe0bc1a5 (diff)
downloadmanaplus-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.tar.gz
manaplus-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.tar.bz2
manaplus-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.tar.xz
manaplus-ec6db5f3d8b7f0b725fec0b4d8d71b330aa034c6.zip
Fix code style.
Diffstat (limited to 'src/test/testmain.cpp')
-rw-r--r--src/test/testmain.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/testmain.cpp b/src/test/testmain.cpp
index 287eeb706..70fcfc346 100644
--- a/src/test/testmain.cpp
+++ b/src/test/testmain.cpp
@@ -264,24 +264,24 @@ int TestMain::invokeFastOpenGLRenderTest(std::string test)
{
#if defined USE_OPENGL
config.setValue("opengl", 1);
-#else
- return -1;
-#endif
config.write();
int ret = execFile(fileName, fileName, "-t", test, 30);
log->log("%s: %d", test.c_str(), ret);
return ret;
+#else
+ return -1;
+#endif
}
int TestMain::invokeSafeOpenGLRenderTest(std::string test)
{
#if defined USE_OPENGL
config.setValue("opengl", 2);
-#else
- return -1;
-#endif
config.write();
int ret = execFile(fileName, fileName, "-t", test, 30);
log->log("%s: %d", test.c_str(), ret);
return ret;
+#else
+ return -1;
+#endif
}