aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/db
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2012-01-06 15:16:12 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2012-01-06 18:52:05 +0100
commit6c88217c1935fcbf864f0cbcddae105eda7e6bb4 (patch)
tree7e30cd283c855ea9411dbdbcb5d32c85641db159 /openbsc/tests/db
parentd5b3ca621b26a70c16cc61fcf9cd4ef0a15fce15 (diff)
tests: Introduce running tests with GNU autotest in OpenBSC
The quality of the tests is of different value but it is good to get started and improve from here.
Diffstat (limited to 'openbsc/tests/db')
-rw-r--r--openbsc/tests/db/Makefile.am2
-rw-r--r--openbsc/tests/db/db_test.ok4
2 files changed, 6 insertions, 0 deletions
diff --git a/openbsc/tests/db/Makefile.am b/openbsc/tests/db/Makefile.am
index aab2cd683..f0d65f897 100644
--- a/openbsc/tests/db/Makefile.am
+++ b/openbsc/tests/db/Makefile.am
@@ -2,6 +2,8 @@ INCLUDES = $(all_includes) -I$(top_srcdir)/include
AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS) $(LIBOSMOABIS_CFLAGS) $(COVERAGE_CFLAGS)
AM_LDFLAGS = $(COVERAGE_LDFLAGS)
+EXTRA_DIST = db_test.ok
+
noinst_PROGRAMS = db_test
db_test_SOURCES = db_test.c
diff --git a/openbsc/tests/db/db_test.ok b/openbsc/tests/db/db_test.ok
new file mode 100644
index 000000000..2632a8c8a
--- /dev/null
+++ b/openbsc/tests/db/db_test.ok
@@ -0,0 +1,4 @@
+Testing subscriber database code.
+DB: Database initialized.
+DB: Database prepared.
+Done