mirror of
https://github.com/libevent/libevent.git
synced 2025-01-31 09:12:55 +08:00
bedded8230
svn:r46
49 lines
804 B
Makefile
49 lines
804 B
Makefile
AUTOMAKE_OPTIONS = foreign no-dependencies
|
|
|
|
LDADD = -L.. -levent
|
|
CPPFPLAGS = -I..
|
|
CFLAGS = -I../compat
|
|
|
|
noinst_PROGRAMS = test-eof test-weof test-time regress
|
|
|
|
test_eof_sources = test-eof.c
|
|
test_weof_sources = test-weof.c
|
|
test_time_sources = test-time.c
|
|
regress_sources = regress.c
|
|
|
|
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
|
|
@echo -n " regress: "
|
|
@if ./regress >/dev/null ; \
|
|
then \
|
|
echo OKAY ; \
|
|
else \
|
|
echo FAILED ; \
|
|
fi
|
|
|