source: branches/replacing_gnuplot/test/Makefile.am @ 646

Last change on this file since 646 was 646, checked in by Jari Häkkinen, 13 years ago

Merged trunk changes r608:645 to replacing_gnuplot branch.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 646 2008-06-03 22:05:22Z jari $
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_test gnuplot_pipe_test \
26  parser_test trac_test utility_test
27
28# these tests are only for developers since we do not distribute test repository
29if HAVE_SVN_WC
30check_PROGRAMS += copyright_test 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 = @builddir@/libsvndigesttest.la \
48  @top_builddir@/lib/libsvndigest.la \
49  $(SVNDIGEST_LIBS)
50AM_LDFLAGS = $(STATICFLAG) $(SVNDIGEST_LDFLAGS)
51
52AM_CPPFLAGS = -I@top_srcdir@/lib $(SVNDIGEST_CPPFLAGS)
53AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
54
55libsvndigesttest_la_SOURCES = Suite.cc
56
57config_test_SOURCES = config_test.cc
58copyright_test_SOURCES = copyright_test.cc
59date_test_SOURCES = date_test.cc
60gnuplot_pipe_test_SOURCES = gnuplot_pipe_test.cc
61parser_test_SOURCES = parser_test.cc
62stats_test_SOURCES = stats_test.cc
63trac_test_SOURCES = trac_test.cc
64utility_test_SOURCES = utility_test.cc
65
66toy_project = toy_project
67rootdir = $(abs_srcdir)/$(toy_project)
68targetdir = $(abs_builddir)/generated_output
69repodir = $(abs_srcdir)/repo/trunk
70
71
72# some tests need the test repo to be checked out
73stats_test_DEPENDENCIES = $(toy_project) @top_builddir@/lib/libsvndigest.la
74copyright_test_DEPENDENCIES = $(toy_project) @top_builddir@/lib/libsvndigest.la
75
76@top_builddir@/lib/libsvndigest.la:
77  @cd @top_builddir@/lib/ && $(MAKE) $(AM_MAKEFLAGS);
78
79$(toy_project):
80  echo Checking out test repository && \
81  svn checkout file://$(repodir) $(toy_project);
82
83clean-local:
84  rm -rf *.png *.tmp *~ $(targetdir)
85
86.PHONY: @top_builddir@/lib/libsvndigest.la
Note: See TracBrowser for help on using the repository browser.