From 73ae22792b6b6203e4ad4ba35a336a65dd862570 Mon Sep 17 00:00:00 2001 From: Reto Zingg Date: Mon, 21 Jan 2013 13:58:48 +0200 Subject: fix Nemo#536 add tests.xml for unit tests relocate installed tests to recommended location /opt/tests adaption in packaging needed! --- configure.ac | 2 +- tests/Makefile.am | 2 ++ tests/tests.xml | 18 ++++++++++++++++++ 3 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 tests/tests.xml 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 @@ + + + + Telepathy-Ring unit tests + + Telepathy-Ring modem tests + + /opt/tests/telepathy-ring/test-modem + + + + Telepathy-Ring ring tests + + /opt/tests/telepathy-ring/test-ring + + + + -- cgit v1.2.3