diff options
author | Reto Zingg <reto.zingg@jollamobile.com> | 2013-01-21 13:58:48 +0200 |
---|---|---|
committer | Reto Zingg <reto.zingg@jollamobile.com> | 2013-01-21 13:58:48 +0200 |
commit | 73ae22792b6b6203e4ad4ba35a336a65dd862570 (patch) | |
tree | d1e6b5b40b1b221c506022b609030088dd44675f | |
parent | 3fa62c231401cf04b2d496789a7488e864bca48f (diff) |
fix Nemo#536 add tests.xml for unit tests
relocate installed tests to recommended location /opt/tests
adaption in packaging needed!
-rw-r--r-- | configure.ac | 2 | ||||
-rw-r--r-- | tests/Makefile.am | 2 | ||||
-rw-r--r-- | tests/tests.xml | 18 |
3 files changed, 21 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac index 7bbd417..d207379 100644 --- a/configure.ac +++ b/configure.ac @@ -114,7 +114,7 @@ AC_SEARCH_LIBS(pthread_mutex_trylock, pthread,, AC_CHECK_LIB([mlocknice], [mln_lock_data],, AC_MSG_WARN([Library mlocknice not found])) -AC_SUBST([testdir],'${libdir}/tests/telepathy-ring-tests') +AC_SUBST([testdir],'/opt/tests/telepathy-ring') AC_SUBST([includemodemdir],'${includedir}/modem-glib') AC_CONFIG_FILES([Makefile]) diff --git a/tests/Makefile.am b/tests/Makefile.am index 433370f..140a808 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -12,3 +12,5 @@ libtestcommon_la_SOURCES = \ tools_dir = $(top_srcdir)/tools MOSTLYCLEANFILES = $(BUILT_SOURCES) + +test_DATA = tests.xml diff --git a/tests/tests.xml b/tests/tests.xml new file mode 100644 index 0000000..0f00ca2 --- /dev/null +++ b/tests/tests.xml @@ -0,0 +1,18 @@ +<?xml version="1.0" encoding="UTF-8"?> +<testdefinition version="1.0"> + <suite name="telepathy-ring-tests" domain="Phone"> + <description>Telepathy-Ring unit tests</description> + <set name="telepathy-ring_test-modem" feature="Modem"> + <description>Telepathy-Ring modem tests</description> + <case name="telepathy-ring-test-modem"> + <step>/opt/tests/telepathy-ring/test-modem</step> + </case> + </set> + <set name="telepathy-ring_test-ring" feature="Ring"> + <description>Telepathy-Ring ring tests</description> + <case name="telepathy-ring-test-ring"> + <step>/opt/tests/telepathy-ring/test-ring</step> + </case> + </set> + </suite> +</testdefinition> |