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/channel/Makefile.am | 2 ++ openbsc/tests/channel/channel_test.ok | 2 ++ 2 files changed, 4 insertions(+) create mode 100644 openbsc/tests/channel/channel_test.ok (limited to 'openbsc/tests/channel') 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 -- cgit v1.2.3