Files
libiscsi/tests/Makefile.am
Ronnie Sahlberg e978232447 Add a test that we reply to NOPs from the target
Signed-off-by: Ronnie Sahlberg <ronniesahlberg@gmail.com>
2015-04-16 08:21:48 -07:00

18 lines
432 B
Makefile

AM_CPPFLAGS = -I../include "-D_U_=__attribute__((unused))" \
"-D_R_(A,B)=__attribute__((format(printf,A,B)))"
AM_CFLAGS = $(WARN_CFLAGS)
LDADD = ../lib/libiscsi.la
noinst_PROGRAMS = prog_reconnect prog_reconnect_timeout prog_noop_reply
T = `ls test_*.sh`
test: $(noinst_PROGRAMS)
for TEST in $(T); do \
echo "Running $$TEST"; \
echo "--------------"; \
sh $$TEST || exit 1; \
echo "--------------"; \
echo; \
done