From 6c88217c1935fcbf864f0cbcddae105eda7e6bb4 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Fri, 6 Jan 2012 15:16:12 +0100 Subject: 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. --- openbsc/tests/db/Makefile.am | 2 ++ openbsc/tests/db/db_test.ok | 4 ++++ 2 files changed, 6 insertions(+) create mode 100644 openbsc/tests/db/db_test.ok (limited to 'openbsc/tests/db') 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 -- cgit v1.2.3