Commit 4aa8f06a authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(check_PROGRAMS): Added testfd.

(testfd_SOURCES): New variable.
(check): Added check-testfd.
(check-testfd): New target.
parent 3b09597f
# $Id: Makefile.am,v 1.47 2002/10/09 08:19:55 ceder Exp $
# $Id: Makefile.am,v 1.48 2002/10/12 18:38:27 ceder Exp $
# Copyright (C) 1998-2002 Lysator Academic Computer Association.
#
# This file is part of the LysKOM server.
......@@ -25,7 +25,7 @@
SUBDIRS = config lyskomd.0
RM = rm -f
check_PROGRAMS = test-l2g bignum
check_PROGRAMS = test-l2g bignum testfd
noinst_DATA = site.exp .gdbinit valgrind.wrap
......@@ -70,6 +70,8 @@ test_l2g_LDADD = ../libcheck.a \
bignum_SOURCES = bignum.c
testfd_SOURCES = testfd.c
../libcheck.a:
(cd .. && $(MAKE) libcheck.a)
......@@ -93,7 +95,7 @@ top_srcdir = @top_srcdir@
echo dir $(top_srcdir)/src/libraries/libisc-new >>.gdbinit
echo dir $(top_srcdir)/src/libraries/libmisc >>.gdbinit
check: check-l2g check-lyskomd check-leaks
check: check-l2g check-lyskomd check-leaks check-testfd
check-l2g: test-l2g site.exp valgrind.wrap
runtest --tool l2g --srcdir $(srcdir)
......@@ -111,6 +113,9 @@ check-leaks: site.exp ../lyskomd valgrind.wrap
runtest --tool leaks --srcdir $(srcdir) \
3<&- 4<&- 5<&- 6<&- 7<&- 8<&- 9<&-
check-testfd: testfd
./testfd
site.exp: Makefile
echo "# this file is automatically generated" > site.exp
echo "set l2g ./test-l2g" >> site.exp
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment