#
# This file is part of DisOrder.
-# Copyright (C) 2004, 2005 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
# USA
#
-check:
- PATH=../server:$$PATH \
- PYTHONPATH=../python \
- topsrcdir=${top_srcdir} \
- ${PYTHON} ${srcdir}/alltests
+noinst_PROGRAMS=disorder-udplog
-EXTRA_DIST=alltests dtest.py nothing.py
+AM_CPPFLAGS=-I${top_srcdir}/lib -I../lib
+
+disorder_udplog_SOURCES=udplog.c
+disorder_udplog_LDADD=$(LIBOBJS) ../lib/libdisorder.a
+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}