source: trunk/test/Makefile.am @ 607

Last change on this file since 607 was 607, checked in by Peter Johansson, 13 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.4 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 607 2008-04-20 03:54:17Z peter $
4
5# Copyright (C) 2005, 2006, 2007 Jari Häkkinen, Peter Johansson
6# Copyright (C) 2008 Peter Johansson
7#
8# This file is part of svndigest, http://trac.thep.lu.se/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 = config_test date gnuplot_pipe \
26  parser trac utility_test
27
28# these tests are only for developers since we do not distribute test repository
29if HAVE_SVN_WC
30check_PROGRAMS += copyright stats_test
31endif
32
33TESTS = $(check_PROGRAMS)
34# these tests are only for developers since we do not distribute test repository
35if HAVE_SVN_WC
36TESTS += test_repo.sh check_repo_status.sh
37endif
38
39# tests not yet passing are listed here
40XFAIL_TESTS =
41
42noinst_HEADERS = Suite.h
43
44check_LTLIBRARIES = libsvndigesttest.la
45
46
47LDADD = $(STATICFLAG) @builddir@/libsvndigesttest.la \
48  @top_builddir@/lib/libsvndigest.la
49
50AM_CPPFLAGS = -I@top_srcdir@/lib
51
52libsvndigesttest_la_SOURCES = Suite.cc
53
54config_test_SOURCES = config_test.cc
55copyright_SOURCES = copyright.cc
56date_SOURCES = date.cc
57gnuplot_pipe_SOURCES = gnuplot_pipe.cc
58parser_SOURCES = parser.cc
59stats_test_SOURCES = stats_test.cc
60trac_SOURCES = trac.cc
61utility_test_SOURCES = utility_test.cc
62
63toy_project = toy_project
64rootdir = $(abs_srcdir)/$(toy_project)
65targetdir = $(abs_builddir)/generated_output
66repodir = $(abs_srcdir)/repo/trunk
67
68
69# some tests need the test repo to be checked out
70stats_test_DEPENDENCIES = $(toy_project) @top_builddir@/lib/libsvndigest.la
71copyright_DEPENDENCIES = $(toy_project) @top_builddir@/lib/libsvndigest.la
72
73$(toy_project):
74  echo Checking out test repository && \
75  svn checkout file://$(repodir) $(toy_project);
76
77clean-local:
78  rm -rf *.png *.tmp *~ check_repo_status.sh test_repo.sh \
79  $(targetdir)
Note: See TracBrowser for help on using the repository browser.