chiark / gitweb /
Add a missing LIBGC
[disorder] / tests / Makefile.am
index 4e9f0084b5b04c9e5cc5283da23b216c374b77cc..e8e8507dedbc04e1a4854ea76fc2ac1a01078938 100644 (file)
@@ -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
@@ -22,12 +22,17 @@ 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_SOURCES=udplog.c ../lib/memgc.c
+disorder_udplog_LDADD=$(LIBOBJS) ../lib/libdisorder.a $(LIBGC)
 disorder_udplog_DEPENDENCIES=../lib/libdisorder.a
 
-check:
-       ${PYTHON} ${srcdir}/alltests
+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
 
-EXTRA_DIST=alltests dtest.py nothing.py version.py dbversion.py search.py \
-       queue.py dump.py play.py
+TESTS_ENVIRONMENT=${PYTHON} -u
+
+clean-local:
+       rm -rf testroot *.log *.pyc
+
+EXTRA_DIST=dtest.py ${TESTS}