2003-03-08 05:24:26 +00:00
|
|
|
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
|
|
|
|
|
|
LDADD = -L.. -levent
|
|
|
|
CPPFPLAGS = -I..
|
2003-09-25 03:30:49 +00:00
|
|
|
CFLAGS = -I../compat -Wall @CFLAGS@
|
2003-03-08 05:24:26 +00:00
|
|
|
|
2003-03-10 05:39:41 +00:00
|
|
|
noinst_PROGRAMS = test-eof test-weof test-time regress bench
|
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-10 05:39:41 +00:00
|
|
|
bench_sources = bench.c
|
2003-03-08 05:24:26 +00:00
|
|
|
|
|
|
|
DISTCLEANFILES = *~
|
|
|
|
|
|
|
|
all: test
|
|
|
|
|
2003-03-10 05:39:41 +00:00
|
|
|
test: test-eof test-weof test-time regress
|
2003-03-08 05:24:26 +00:00
|
|
|
@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
|
|
|
|
2003-09-25 03:30:49 +00:00
|
|
|
bench test-eof test-weof test-time regress: ../libevent.a
|