source: trunk/test/Makefile.am @ 687

Last change on this file since 687 was 687, checked in by Peter Johansson, 13 years ago

Merged patch release 0.6.6 to trunk. Delta 0.6.6 - 0.6.5

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.6 KB
RevLine 
[84]1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 687 2008-08-04 19:37:10Z peter $
4
[668]5# Copyright (C) 2005, 2006, 2007, 2008 Jari Häkkinen, Peter Johansson
[6]6#
[687]7# This file is part of svndigest, http://dev.thep.lu.se/svndigest
[84]8#
[149]9# svndigest is free software; you can redistribute it and/or modify it
[84]10# under the terms of the GNU General Public License as published by
11# the Free Software Foundation; either version 2 of the License, or
12# (at your option) any later version.
13#
[149]14# svndigest is distributed in the hope that it will be useful, but
[84]15# WITHOUT ANY WARRANTY; without even the implied warranty of
16# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
17# General Public License for more details.
18#
19# You should have received a copy of the GNU General Public License
20# along with this program; if not, write to the Free Software
21# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
22# 02111-1307, USA.
[8]23
[624]24check_PROGRAMS = config_test date_test gnuplot_pipe_test \
25  parser_test trac_test utility_test
[248]26
[556]27# these tests are only for developers since we do not distribute test repository
28if HAVE_SVN_WC
[624]29check_PROGRAMS += copyright_test stats_test
[556]30endif
31
[248]32TESTS = $(check_PROGRAMS)
[396]33# these tests are only for developers since we do not distribute test repository
[547]34if HAVE_SVN_WC
[328]35TESTS += test_repo.sh check_repo_status.sh
[219]36endif
[8]37
[598]38# tests not yet passing are listed here
[597]39XFAIL_TESTS =
[595]40
[596]41noinst_HEADERS = Suite.h
[595]42
[668]43check_LIBRARIES = libsvndigesttest.a
[8]44
[596]45
[668]46LDADD = @builddir@/libsvndigesttest.a \
47  @top_builddir@/lib/libsvndigest.a \
[640]48  $(SVNDIGEST_LIBS)
[668]49AM_LDFLAGS = $(SVNDIGEST_LDFLAGS)
[596]50
[640]51AM_CPPFLAGS = -I@top_srcdir@/lib $(SVNDIGEST_CPPFLAGS)
52AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
[9]53
[668]54libsvndigesttest_a_SOURCES = Suite.cc
[596]55
[556]56config_test_SOURCES = config_test.cc
[624]57copyright_test_SOURCES = copyright_test.cc
58date_test_SOURCES = date_test.cc
59gnuplot_pipe_test_SOURCES = gnuplot_pipe_test.cc
60parser_test_SOURCES = parser_test.cc
[556]61stats_test_SOURCES = stats_test.cc
[624]62trac_test_SOURCES = trac_test.cc
[422]63utility_test_SOURCES = utility_test.cc
[28]64
[556]65toy_project = toy_project
66rootdir = $(abs_srcdir)/$(toy_project)
[540]67targetdir = $(abs_builddir)/generated_output
68repodir = $(abs_srcdir)/repo/trunk
[328]69
[540]70
[568]71# some tests need the test repo to be checked out
[668]72stats_test_DEPENDENCIES = $(toy_project) @top_builddir@/lib/libsvndigest.a
73copyright_test_DEPENDENCIES = $(toy_project) @top_builddir@/lib/libsvndigest.a
[540]74
[668]75@top_builddir@/lib/libsvndigest.a:
[633]76  @cd @top_builddir@/lib/ && $(MAKE) $(AM_MAKEFLAGS);
77
[556]78$(toy_project):
79  echo Checking out test repository && \
80  svn checkout file://$(repodir) $(toy_project);
81
[28]82clean-local:
[624]83  rm -rf *.png *.tmp *~ $(targetdir)
[633]84
[668]85.PHONY: @top_builddir@/lib/libsvndigest.a
Note: See TracBrowser for help on using the repository browser.