chiark / gitweb /
Ask for -std=gnu99 if necessary to get full <limits.h>.
[disorder] / tests / Makefile.am
index 8367f656ae6e8e65c28369cdc5c5756f9dcd5159..ff6253d30ca2438c5c88df48a8e99dd007bbbc15 100644 (file)
@@ -1,6 +1,6 @@
 #
 # 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
 #
 
+noinst_PROGRAMS=disorder-udplog
+
+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
+
 check:
-       PATH=`pwd`/../server:`pwd`/..clients:$$PATH \
-       PYTHONPATH=../python \
-               topsrcdir=${top_srcdir} \
-               ${PYTHON} ${srcdir}/alltests
+       ${PYTHON} -u ${srcdir}/alltests
+
+clean-local:
+       rm -rf testroot *.log *.pyc
 
-EXTRA_DIST=alltests dtest.py nothing.py version.py dbversion.py
+EXTRA_DIST=alltests dtest.py dbversion.py search.py \
+       queue.py dump.py play.py cookie.py user-upgrade.py user.py recode.py