2015-06-26 15:17:39 +00:00
|
|
|
|
2015-07-24 17:14:20 +00:00
|
|
|
test_scripts = \
|
|
|
|
basic.test \
|
|
|
|
commandline.test \
|
|
|
|
executables.test \
|
|
|
|
import-export.test \
|
|
|
|
invite-join.test \
|
|
|
|
ns-ping.test \
|
|
|
|
ping.test \
|
|
|
|
sptps-basic.test \
|
|
|
|
variables.test
|
|
|
|
|
2013-08-31 22:39:14 +00:00
|
|
|
TESTS = \
|
|
|
|
basic.test \
|
2013-09-05 12:59:56 +00:00
|
|
|
commandline.test \
|
2013-09-01 19:06:25 +00:00
|
|
|
executables.test \
|
2013-09-01 19:07:02 +00:00
|
|
|
import-export.test \
|
2013-09-01 22:15:50 +00:00
|
|
|
invite-join.test \
|
2017-03-26 14:47:54 +00:00
|
|
|
invite-offline.test \
|
2016-04-17 11:56:37 +00:00
|
|
|
invite-tinc-up.test \
|
2014-01-24 15:09:32 +00:00
|
|
|
ns-ping.test \
|
2013-09-05 15:42:31 +00:00
|
|
|
ping.test \
|
2017-03-26 15:43:33 +00:00
|
|
|
scripts.test \
|
2013-09-05 12:59:56 +00:00
|
|
|
sptps-basic.test \
|
|
|
|
variables.test
|
2013-08-31 22:39:14 +00:00
|
|
|
|
2013-09-08 12:47:59 +00:00
|
|
|
dist_check_SCRIPTS = $(TESTS)
|
|
|
|
|
2013-08-31 22:39:14 +00:00
|
|
|
EXTRA_DIST = testlib.sh
|
|
|
|
|
2015-06-26 15:17:39 +00:00
|
|
|
check_PROGRAMS = pong simple
|
2013-09-05 15:42:31 +00:00
|
|
|
|
|
|
|
pong_SOURCES = pong.c
|
|
|
|
|
2015-06-26 15:17:39 +00:00
|
|
|
simple_SOURCES = \
|
|
|
|
simple.c
|
|
|
|
|
|
|
|
pong_LDFLAGS = -L$(top_srcdir)/src -ltinc
|
|
|
|
|
|
|
|
simple_CFLAGS = -I$(top_srcdir)/src -I/usr/include -iquote$(top_srcdir)/src
|
|
|
|
simple_LDFLAGS = -L$(top_srcdir)/src -lcmocka -ltincd -lchacha_poly1305 -led25519
|
|
|
|
|
|
|
|
|
2013-08-31 22:39:14 +00:00
|
|
|
clean-local:
|
2013-09-01 20:58:45 +00:00
|
|
|
-for pid in *.test.?/pid; do ../src/tinc --pidfile="$$pid" stop; done
|
|
|
|
-killall ../src/sptps_test
|
2013-09-05 15:42:31 +00:00
|
|
|
-killall pong
|
2013-08-31 22:39:14 +00:00
|
|
|
-rm -rf *.test.?
|