aboutsummaryrefslogtreecommitdiffstats
path: root/openbsc/tests/channel
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/channel
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/channel')
-rw-r--r--openbsc/tests/channel/Makefile.am2
-rw-r--r--openbsc/tests/channel/channel_test.ok2
2 files changed, 4 insertions, 0 deletions
diff --git a/openbsc/tests/channel/Makefile.am b/openbsc/tests/channel/Makefile.am
index 404ab3225..4f50dab21 100644
--- a/openbsc/tests/channel/Makefile.am
+++ b/openbsc/tests/channel/Makefile.am
@@ -1,6 +1,8 @@
INCLUDES = $(all_includes) -I$(top_srcdir)/include
AM_CFLAGS=-Wall -ggdb3 $(LIBOSMOCORE_CFLAGS) $(LIBOSMOGSM_CFLAGS)
+EXTRA_DIST = channel_test.ok
+
noinst_PROGRAMS = channel_test
channel_test_SOURCES = channel_test.c
diff --git a/openbsc/tests/channel/channel_test.ok b/openbsc/tests/channel/channel_test.ok
new file mode 100644
index 000000000..7976aee0f
--- /dev/null
+++ b/openbsc/tests/channel/channel_test.ok
@@ -0,0 +1,2 @@
+Testing the gsm_subscriber chan logic
+Reached, didn't crash, test passed