summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-01-07 15:33:20 +0300
committerAndrei Karas <akaras@inbox.ru>2012-01-07 15:34:11 +0300
commit0d5f48fcdd9c5b9a8f508e9cc84898512f17d1ea (patch)
tree4dec077e8a731da3d5f4215dc2a19066debb4641
parent4d125dff59df1e10a24022973b0d725e6203cc99 (diff)
downloadplus-0d5f48fcdd9c5b9a8f508e9cc84898512f17d1ea.tar.gz
plus-0d5f48fcdd9c5b9a8f508e9cc84898512f17d1ea.tar.bz2
plus-0d5f48fcdd9c5b9a8f508e9cc84898512f17d1ea.tar.xz
plus-0d5f48fcdd9c5b9a8f508e9cc84898512f17d1ea.zip
Add tests launcher from shell script.
-rw-r--r--Makefile.am1
-rwxr-xr-xmanaplustest4
-rw-r--r--manaplustest.desktop2
3 files changed, 6 insertions, 1 deletions
diff --git a/Makefile.am b/Makefile.am
index 917a92036..53a66e138 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -14,6 +14,7 @@ EXTRA_DIST = $(desktop_DATA) \
CMake/Modules/FindENet.cmake \
CMake/Modules/FindLibIntl.cmake \
CMake/Modules/FindSDL_gfx.cmake \
+ manaplustests \
manaplus.cbp \
manaplus.menu \
manaplus.spec \
diff --git a/manaplustest b/manaplustest
new file mode 100755
index 000000000..62ee7ffe4
--- /dev/null
+++ b/manaplustest
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+cd /usr/games
+manaplus --test
diff --git a/manaplustest.desktop b/manaplustest.desktop
index d8cdc8e54..70e5ea44b 100644
--- a/manaplustest.desktop
+++ b/manaplustest.desktop
@@ -9,7 +9,7 @@ Comment[it]=Un gioco fantasy online
Comment[nl]=Een online role playing game
Comment[sv]=Ett fantasyrollspel online
Comment[ru]=Клиент к 2D MMORPG игре
-Exec=manaplus --tests
+Exec=manaplustests
StartupNotify=false
Terminal=false
Type=Application