summaryrefslogtreecommitdiff
path: root/build/testfile.sh
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-06-16 16:17:37 +0300
committerAndrei Karas <akaras@inbox.ru>2016-06-16 16:17:37 +0300
commited93eed717eaa23543d089236ac1b09c4d152b54 (patch)
treefacab90de2525add18c26963e17f8ea76751aea8 /build/testfile.sh
parentfb97eb9e75af62448ec57a45f35b13541db3188b (diff)
downloadmanaverse-ed93eed717eaa23543d089236ac1b09c4d152b54.tar.gz
manaverse-ed93eed717eaa23543d089236ac1b09c4d152b54.tar.bz2
manaverse-ed93eed717eaa23543d089236ac1b09c4d152b54.tar.xz
manaverse-ed93eed717eaa23543d089236ac1b09c4d152b54.zip
From separate file test script removed unused define DEBUGBUILD and added tests with USE_X11
Diffstat (limited to 'build/testfile.sh')
-rwxr-xr-xbuild/testfile.sh48
1 files changed, 26 insertions, 22 deletions
diff --git a/build/testfile.sh b/build/testfile.sh
index bfe57c9b1..d23f2ffff 100755
--- a/build/testfile.sh
+++ b/build/testfile.sh
@@ -34,28 +34,32 @@ function run {
echo >${LOGFILE}
-run "-DENABLE_LIBXML -DDEBUGBUILD -DEATHENA_SUPPORT" "$includes" "$1"
-run "-DENABLE_LIBXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
-run "-DENABLE_LIBXML -DDEBUGBUILD -DEATHENA_SUPPORT -DENABLE_NLS" "$includes" "$1"
-run "-DENABLE_LIBXML -DDEBUGBUILD -DEATHENA_SUPPORT -DTMWA_SUPPORT" "$includes" "$1"
-run "-DENABLE_LIBXML -DDEBUGBUILD -DEATHENA_SUPPORT -DTMWA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
-
-run "-DENABLE_PUGIXML -DDEBUGBUILD -DEATHENA_SUPPORT" "$includes" "$1"
-run "-DENABLE_PUGIXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
-run "-DENABLE_PUGIXML -DDEBUGBUILD -DEATHENA_SUPPORT -DENABLE_NLS" "$includes" "$1"
-run "-DENABLE_PUGIXML -DDEBUGBUILD -DEATHENA_SUPPORT -DTMWA_SUPPORT" "$includes" "$1"
-run "-DENABLE_PUGIXML -DDEBUGBUILD -DEATHENA_SUPPORT -DTMWA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT -DENABLE_NLS" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT -DTMWA_SUPPORT" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT -DTMWA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT -DTMWA_SUPPORT -DUSE_OPENGL -DUSE_X11" "$includes" "$1"
+
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT" "$includes" "$1"
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT -DENABLE_NLS" "$includes" "$1"
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT -DTMWA_SUPPORT" "$includes" "$1"
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT -DTMWA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT -DTMWA_SUPPORT -DUSE_OPENGL -DUSE_X11" "$includes" "$1"
export includes="-I. -I/usr/include -I/usr/include/SDL2 -I/usr/include/libxml2"
-run "-DENABLE_LIBXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_SDL2" "$includes" "$1"
-run "-DENABLE_LIBXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_SDL2 -DUSE_OPENGL" "$includes" "$1"
-run "-DENABLE_LIBXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_SDL2 -DENABLE_NLS" "$includes" "$1"
-run "-DENABLE_LIBXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_SDL2 -DTMWA_SUPPORT" "$includes" "$1"
-run "-DENABLE_LIBXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_SDL2 -DTMWA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
-
-run "-DENABLE_PUGIXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_SDL2" "$includes" "$1"
-run "-DENABLE_PUGIXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_SDL2 -DUSE_OPENGL" "$includes" "$1"
-run "-DENABLE_PUGIXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_SDL2 -DENABLE_NLS" "$includes" "$1"
-run "-DENABLE_PUGIXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_SDL2 -DTMWA_SUPPORT" "$includes" "$1"
-run "-DENABLE_PUGIXML -DDEBUGBUILD -DEATHENA_SUPPORT -DUSE_SDL2 -DTMWA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT -DUSE_SDL2" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT -DUSE_SDL2 -DUSE_OPENGL" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT -DUSE_SDL2 -DENABLE_NLS" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT -DUSE_SDL2 -DTMWA_SUPPORT" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT -DUSE_SDL2 -DTMWA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
+run "-DENABLE_LIBXML -DEATHENA_SUPPORT -DUSE_SDL2 -DTMWA_SUPPORT -DUSE_OPENGL -DUSE_X11" "$includes" "$1"
+
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT -DUSE_SDL2" "$includes" "$1"
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT -DUSE_SDL2 -DUSE_OPENGL" "$includes" "$1"
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT -DUSE_SDL2 -DENABLE_NLS" "$includes" "$1"
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT -DUSE_SDL2 -DTMWA_SUPPORT" "$includes" "$1"
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT -DUSE_SDL2 -DTMWA_SUPPORT -DUSE_OPENGL" "$includes" "$1"
+run "-DENABLE_PUGIXML -DEATHENA_SUPPORT -DUSE_SDL2 -DTMWA_SUPPORT -DUSE_OPENGL -DUSE_X11" "$includes" "$1"