Move the db_test.c to a specific test directory

This commit is contained in:
Holger Freyther 2008-12-31 23:25:05 +00:00
parent 6dbca34bd3
commit dbede4e414
5 changed files with 11 additions and 5 deletions

View File

@ -25,4 +25,5 @@ AC_OUTPUT(
tests/timer/Makefile tests/timer/Makefile
tests/sms/Makefile tests/sms/Makefile
tests/gsm0408/Makefile tests/gsm0408/Makefile
tests/db/Makefile
Makefile) Makefile)

View File

@ -1,12 +1,9 @@
INCLUDES = $(all_includes) -I$(top_srcdir)/include INCLUDES = $(all_includes) -I$(top_srcdir)/include
AM_CFLAGS=-Wall AM_CFLAGS=-Wall
sbin_PROGRAMS = bsc_hack db_test sbin_PROGRAMS = bsc_hack
bsc_hack_SOURCES = bsc_hack.c misdn.c abis_rsl.c abis_nm.c gsm_04_08.c gsm_data.c \ bsc_hack_SOURCES = bsc_hack.c misdn.c abis_rsl.c abis_nm.c gsm_04_08.c gsm_data.c \
gsm_subscriber.c msgb.c select.c chan_alloc.c timer.c debug.c db.c \ gsm_subscriber.c msgb.c select.c chan_alloc.c timer.c debug.c db.c \
gsm_04_11.c gsm_04_11.c
bsc_hack_LDADD = -ldl -ldbi bsc_hack_LDADD = -ldl -ldbi
db_test_SOURCES = db_test.c db.c
db_test_LDADD = -ldl -ldbi

View File

@ -1 +1 @@
SUBDIRS = debug timer sms gsm0408 SUBDIRS = debug timer sms gsm0408 db

8
tests/db/Makefile.am Normal file
View File

@ -0,0 +1,8 @@
INCLUDES = $(all_includes) -I$(top_srcdir)/include
AM_CFLAGS=-Wall
noinst_PROGRAMS = db_test
db_test_SOURCES = db_test.c $(top_srcdir)/src/db.c
db_test_LDADD = -ldl -ldbi