]> granicus.if.org Git - libevent/commitdiff
make a separate verify target
authorNiels Provos <provos@gmail.com>
Wed, 1 Dec 2004 19:59:00 +0000 (19:59 +0000)
committerNiels Provos <provos@gmail.com>
Wed, 1 Dec 2004 19:59:00 +0000 (19:59 +0000)
svn:r124

Makefile.am
README [new file with mode: 0644]
sample/Makefile.am
test/Makefile.am

index 2cfb03cec7b0bceca487cd76e6aaca06e1063b6d..0acca6220b11e2432f8a5ab059901f97c9b8107f 100644 (file)
@@ -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 (file)
index 0000000..9873d2a
--- /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
index b2a0481a2d49815f615f2563444768a31d0f7965..7d12e63c0d929a72fa803bda076842d227d002e3 100644 (file)
@@ -10,4 +10,6 @@ event_test_sources = event-test.c
 time_test_sources = time-test.c
 signal_test_sources = signal-test.c
 
+verify:
+
 DISTCLEANFILES = *~
index 86783b42ae64e7b3af09b6f454f771dcf7b9ef88..28e47784f7aeabeb93f32e7fd1a56b8072555454 100644 (file)
@@ -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