From f5a62ed30e895fb622db889b24184851f8f7ea04 Mon Sep 17 00:00:00 2001 From: Niels Provos Date: Wed, 1 Dec 2004 19:59:00 +0000 Subject: [PATCH] make a separate verify target svn:r124 --- Makefile.am | 3 +++ README | 13 +++++++++++++ sample/Makefile.am | 2 ++ test/Makefile.am | 4 ++-- 4 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 README diff --git a/Makefile.am b/Makefile.am index 2cfb03ce..0acca622 100644 --- a/Makefile.am +++ b/Makefile.am @@ -29,4 +29,7 @@ INCLUDES = -Icompat man_MANS = event.3 +verify: libevent.a + cd $(srcdir)/test && make verify + DISTCLEANFILES = *~ diff --git a/README b/README new file mode 100644 index 00000000..9873d2a7 --- /dev/null +++ b/README @@ -0,0 +1,13 @@ +To build libevent, type + +$ ./configure && make + +Install as root via + +# make install + +You can run the regression tests by + +$ make verify + +Before, reporting any problems, please run the regression tests. \ No newline at end of file diff --git a/sample/Makefile.am b/sample/Makefile.am index b2a0481a..7d12e63c 100644 --- a/sample/Makefile.am +++ b/sample/Makefile.am @@ -10,4 +10,6 @@ event_test_sources = event-test.c time_test_sources = time-test.c signal_test_sources = signal-test.c +verify: + DISTCLEANFILES = *~ diff --git a/test/Makefile.am b/test/Makefile.am index 86783b42..28e47784 100644 --- a/test/Makefile.am +++ b/test/Makefile.am @@ -15,9 +15,9 @@ bench_sources = bench.c DISTCLEANFILES = *~ -all: test - test: test-init test-eof test-weof test-time regress + +verify: test @./test.sh bench test-init test-eof test-weof test-time regress: ../libevent.a -- 2.40.0