aboutsummaryrefslogtreecommitdiffstats
path: root/configure.ac
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2011-11-13 01:02:54 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2011-11-14 13:35:41 +0100
commitf9eda7489b5afba9a0a5f9e1e623d61454b0e7e0 (patch)
tree40f99e9a97eee4df1e0e3edefaa3c506f211d836 /configure.ac
parent36a9cdfcd625f003e50b6077d12e720c66cf6c77 (diff)
tests: Use GNU autotest to execute our tests and compare textual output
The output of make check is looking like this now: Regression tests. 1: bits ok 2: msgfile ok 3: sms ok 4: smscb ok 5: timer FAILED (testsuite.at:38) 6: ussd FAILED (testsuite.at:44)
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 7d8e6dd..dc43509 100644
--- a/configure.ac
+++ b/configure.ac
@@ -3,6 +3,7 @@ AC_INIT([libosmocore],
[openbsc-devel@lists.openbsc.org])
AM_INIT_AUTOMAKE([dist-bzip2])
+AC_CONFIG_TESTDIR(tests)
dnl kernel style compile messages
m4_ifdef([AM_SILENT_RULES], [AM_SILENT_RULES([yes])])
@@ -138,6 +139,10 @@ then
AC_DEFINE([PANIC_INFLOOP],[1],[Use infinite loop on panic rather than fprintf/abort])
fi
+
+AC_CONFIG_FILES(tests/osmo-test, chmod +x tests/osmo-test)
+dnl AC_CONFIG_FILES(tests/atlocal)
+
AC_OUTPUT(
libosmocore.pc
libosmocodec.pc