[tests]: Run tests with automake

personal/stbuehler/wip
Stefan Bühler 13 years ago
parent 685973a3ca
commit 21d9d5ef46

@ -1,4 +1,4 @@
SUBDIRS=doc src include
SUBDIRS=doc src include tests
ACLOCAL_AMFLAGS=-I m4
EXTRA_DIST=autogen.sh CMakeLists.txt

@ -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
Loading…
Cancel
Save