2003-03-08 05:24:26 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
|
|
|
|
|
|
LDADD = -L.. -levent
|
|
|
|
CPPFPLAGS = -I..
|
2003-03-09 23:29:26 +00:00
|
|
|
CFLAGS = -I../compat -g -Wall
|
2003-03-08 05:24:26 +00:00
|
|
|
|
2003-03-08 06:39:30 +00:00
|
|
|
noinst_PROGRAMS = test-eof test-weof test-time regress
|
2003-03-08 05:24:26 +00:00
|
|
|
|
|
|
|
test_eof_sources = test-eof.c
|
|
|
|
test_weof_sources = test-weof.c
|
|
|
|
test_time_sources = test-time.c
|
2003-03-08 06:39:30 +00:00
|
|
|
regress_sources = regress.c
|
2003-03-08 05:24:26 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = *~
|
|
|
|
|
|
|
|
all: test
|
|
|
|
|
|
|
|
test: $(noinst_PROGRAMS)
|
|
|
|
@echo "Running tests:"
|
|
|
|
@echo -n " test-eof: "
|
|
|
|
@if ./test-eof >/dev/null ; \
|
|
|
|
then \
|
|
|
|
echo OKAY ; \
|
|
|
|
else \
|
|
|
|
echo FAILED ; \
|
|
|
|
fi
|
|
|
|
@echo -n " test-weof: "
|
|
|
|
@if ./test-weof >/dev/null ; \
|
|
|
|
then \
|
|
|
|
echo OKAY ; \
|
|
|
|
else \
|
|
|
|
echo FAILED ; \
|
|
|
|
fi
|
|
|
|
@echo -n " test-time: "
|
|
|
|
@if ./test-time >/dev/null ; \
|
|
|
|
then \
|
|
|
|
echo OKAY ; \
|
|
|
|
else \
|
|
|
|
echo FAILED ; \
|
|
|
|
fi
|
2003-03-08 06:39:30 +00:00
|
|
|
@echo -n " regress: "
|
|
|
|
@if ./regress >/dev/null ; \
|
|
|
|
then \
|
|
|
|
echo OKAY ; \
|
|
|
|
else \
|
|
|
|
echo FAILED ; \
|
|
|
|
fi
|
2003-03-08 05:24:26 +00:00
|
|
|
|