source: trunk/test/Makefile.am @ 309

Last change on this file since 309 was 309, checked in by Peter Johansson, 14 years ago

added test for Trac class. fixes #189

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 309 2007-05-12 13:26:38Z peter $
4
5# Copyright (C) 2005, 2006 Jari Häkkinen, Peter Johansson
6# Copyright (C) 2007 Peter Johansson
7#
8# This file is part of svndigest, http://lev.thep.lu.se/trac/svndigest
9#
10# svndigest is free software; you can redistribute it and/or modify it
11# under the terms of the GNU General Public License as published by
12# the Free Software Foundation; either version 2 of the License, or
13# (at your option) any later version.
14#
15# svndigest is distributed in the hope that it will be useful, but
16# WITHOUT ANY WARRANTY; without even the implied warranty of
17# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18# General Public License for more details.
19#
20# You should have received a copy of the GNU General Public License
21# along with this program; if not, write to the Free Software
22# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
23# 02111-1307, USA.
24
25check_PROGRAMS = gnuplot_pipe parser trac
26
27TESTS = $(check_PROGRAMS)
28# this test is only for developers since we do not distribute test repository
29if WCTESTS
30TESTS += test_repo.sh
31endif
32
33LDADD = $(STATICFLAG) @top_builddir@/lib/libsvndigest.la
34
35AM_CPPFLAGS = -I@top_srcdir@/lib
36
37gnuplot_pipe_SOURCES = gnuplot_pipe.cc
38parser_SOURCES = parser.cc
39trac_SOURCES = trac.cc
40
41test_repo.sh: test_repo.sh.in Makefile.am
42  @echo \#!$(SHELL) > $@;
43  @echo srcdir=$(srcdir) >> $@;
44  @echo top_builddir=$(top_builddir) >> $@;
45  @echo targetdir=$(srcdir)/generated_output >> $@;
46  @cat test_repo.sh.in >> $@;
47  @chmod 744 $@;
48  @echo create $@; 
49
50clean-local:
51  rm -rf *.png *.tmp *~ test_repo.sh $(srcdir)/generated_output;
52
Note: See TracBrowser for help on using the repository browser.