diff options
author | Tom <t.swindell@rubyx.co.uk> | 2013-02-06 03:29:36 -0800 |
---|---|---|
committer | Tom <t.swindell@rubyx.co.uk> | 2013-02-06 03:29:36 -0800 |
commit | ab3b6d31cf41a0d1578d5f5f788f63d68945e0ee (patch) | |
tree | d1e6b5b40b1b221c506022b609030088dd44675f | |
parent | 3fa62c231401cf04b2d496789a7488e864bca48f (diff) | |
parent | 73ae22792b6b6203e4ad4ba35a336a65dd862570 (diff) |
Merge pull request #2 from d0b3rm4n/nemo_bug_536
fix Nemo#536 add tests.xml for unit tests
-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> |