2016-11-23 19:23:33 +00:00
|
|
|
AM_CFLAGS += -I$(abs_top_srcdir)/src/include -g -ggdb -O0 $(openssl_CFLAGS)
|
|
|
|
TEST_LDADD = $(abs_top_builddir)/libks.la $(openssl_LIBS)
|
2017-03-07 18:45:52 +00:00
|
|
|
check_PROGRAMS =
|
2016-11-23 19:23:33 +00:00
|
|
|
|
|
|
|
EXTRA_DIST = tap.h
|
|
|
|
|
|
|
|
check_PROGRAMS += testpools
|
|
|
|
testpools_SOURCES = testpools.c tap.c
|
|
|
|
testpools_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testpools_LDADD = $(TEST_LDADD)
|
|
|
|
|
2017-03-27 14:11:23 +00:00
|
|
|
check_PROGRAMS += testmmap
|
|
|
|
testmmap_SOURCES = testmmap.c tap.c
|
|
|
|
testmmap_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testmmap_LDADD = $(TEST_LDADD)
|
|
|
|
|
2017-01-25 23:10:50 +00:00
|
|
|
check_PROGRAMS += testacl
|
|
|
|
testacl_SOURCES = testacl.c tap.c
|
|
|
|
testacl_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testacl_LDADD = $(TEST_LDADD)
|
|
|
|
|
2016-12-06 22:46:08 +00:00
|
|
|
check_PROGRAMS += test_thread_pools
|
|
|
|
test_thread_pools_SOURCES = test_thread_pools.c tap.c
|
|
|
|
test_thread_pools_CFLAGS = $(AM_CFLAGS)
|
|
|
|
test_thread_pools_LDADD = $(TEST_LDADD)
|
|
|
|
|
2016-11-23 19:23:33 +00:00
|
|
|
check_PROGRAMS += testthreadmutex
|
|
|
|
testthreadmutex_SOURCES = testthreadmutex.c tap.c
|
|
|
|
testthreadmutex_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testthreadmutex_LDADD = $(TEST_LDADD)
|
|
|
|
|
|
|
|
check_PROGRAMS += testtime
|
|
|
|
testtime_SOURCES = testtime.c tap.c
|
|
|
|
testtime_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testtime_LDADD = $(TEST_LDADD)
|
|
|
|
|
|
|
|
check_PROGRAMS += testq
|
|
|
|
testq_SOURCES = testq.c tap.c
|
|
|
|
testq_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testq_LDADD = $(TEST_LDADD)
|
|
|
|
|
|
|
|
check_PROGRAMS += testhash
|
|
|
|
testhash_SOURCES = testhash.c tap.c
|
|
|
|
testhash_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testhash_LDADD = $(TEST_LDADD)
|
|
|
|
|
|
|
|
check_PROGRAMS += testsock
|
|
|
|
testsock_SOURCES = testsock.c tap.c
|
|
|
|
testsock_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testsock_LDADD = $(TEST_LDADD)
|
|
|
|
|
|
|
|
check_PROGRAMS += testsock2
|
|
|
|
testsock2_SOURCES = testsock2.c tap.c
|
|
|
|
testsock2_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testsock2_LDADD = $(TEST_LDADD)
|
|
|
|
|
|
|
|
check_PROGRAMS += testwebsock
|
|
|
|
testwebsock_SOURCES = testwebsock.c tap.c
|
|
|
|
testwebsock_CFLAGS = $(AM_CFLAGS)
|
|
|
|
testwebsock_LDADD = $(TEST_LDADD)
|
|
|
|
|
|
|
|
|
|
|
|
TESTS=$(check_PROGRAMS)
|
|
|
|
|
|
|
|
tests: $(check_PROGRAMS)
|