Permalink
Browse files

[tests]: Run tests with automake

  • Loading branch information...
1 parent 685973a commit 21d9d5ef46b6dbdde0458db0804d8773c4e0765f @stbuehler stbuehler committed Oct 3, 2010
Showing with 14 additions and 1 deletion.
  1. +1 −1 Makefile.am
  2. +5 −0 tests/Makefile.am
  3. +8 −0 tests/autowrapper.sh
View
@@ -1,4 +1,4 @@
-SUBDIRS=doc src include
+SUBDIRS=doc src include tests
ACLOCAL_AMFLAGS=-I m4
EXTRA_DIST=autogen.sh CMakeLists.txt
View
@@ -0,0 +1,5 @@
+
+EXTRA_DIST=CMakeLists.txt $(wildcard $(srcdir)/*.py) autowrapper.sh
+
+TESTS_ENVIRONMENT=$(srcdir)/autowrapper.sh $(srcdir) $(top_builddir)
+TESTS=runtests.py
@@ -0,0 +1,8 @@
+#!/bin/sh
+
+TESTSRC="$1"
+BUILD="$2"
+
+ARGS="${RUNTEST_ARGS}"
+
+exec "${TESTSRC}/runtests.py" --angel "${BUILD}/src/angel/lighttpd2" --worker "${BUILD}/src/main/lighttpd2-worker" --plugindir "${BUILD}/src/modules/.libs" $ARGS

0 comments on commit 21d9d5e

Please sign in to comment.