X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/4ecbdbd99dea3236c3c6d5ea5401a08c56de5d3c..36a7f4778f6a1812cddd0b9359cdb9dda6a78a30:/tests/Makefile.am diff --git a/tests/Makefile.am b/tests/Makefile.am index e79c021..e8e8507 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -1,6 +1,6 @@ # # This file is part of DisOrder. -# Copyright (C) 2004, 2005, 2007 Richard Kettlewell +# Copyright (C) 2004, 2005, 2007, 2008 Richard Kettlewell # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by @@ -18,8 +18,21 @@ # USA # -check: - ${PYTHON} ${srcdir}/alltests +noinst_PROGRAMS=disorder-udplog -EXTRA_DIST=alltests dtest.py nothing.py version.py dbversion.py search.py +AM_CPPFLAGS=-I${top_srcdir}/lib -I../lib +disorder_udplog_SOURCES=udplog.c ../lib/memgc.c +disorder_udplog_LDADD=$(LIBOBJS) ../lib/libdisorder.a $(LIBGC) +disorder_udplog_DEPENDENCIES=../lib/libdisorder.a + +TESTS=cookie.py dbversion.py dump.py files.py play.py queue.py \ + recode.py search.py user-upgrade.py user.py aliases.py \ + schedule.py + +TESTS_ENVIRONMENT=${PYTHON} -u + +clean-local: + rm -rf testroot *.log *.pyc + +EXTRA_DIST=dtest.py ${TESTS}