source: branches/0.8-stable/test/Makefile.am @ 1246

Last change on this file since 1246 was 1246, checked in by Peter Johansson, 11 years ago

fixes #477

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 2.9 KB
Line 
1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 1246 2010-10-30 02:41:51Z peter $
4
5# Copyright (C) 2005, 2006, 2007, 2008, 2009 Jari Häkkinen, Peter Johansson
6# Copyright (C) 2010 Peter Johansson
7#
8# This file is part of svndigest, http://dev.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 3 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 svndigest. If not, see <http://www.gnu.org/licenses/>.
22
23check_SCRIPTS = svn_update.sh init.sh
24
25## we use suffix .cc for all source
26AM_DEFAULT_SOURCE_EXT = .cc
27
28EXTRA_PROGRAMS = cache_partial_test color_test \
29  config_test copyright_test date_test \
30  graph_test htmlstream_test parameter_test \
31  parser_test stats_test trac_test utility_test
32
33CLEANFILES = $(EXTRA_PROGRAMS)
34
35parameter_test_SOURCES = parameter_test.cc $(top_srcdir)/bin/Parameter.cc \
36  $(top_srcdir)/bin/svndigestParameter.cc
37
38distributed_TESTS =
39distributed_TESTS += cmd_format_test.sh
40distributed_TESTS += config2_test.sh
41distributed_TESTS += config3_test.sh
42distributed_TESTS += copyright2_test.sh
43distributed_TESTS += link_root_test.sh
44distributed_TESTS += repo_status_test.sh
45distributed_TESTS += repo_test.sh
46distributed_TESTS += svncopyright_test.sh
47distributed_TESTS += svndigest_copy_cache_test.sh
48
49TESTS = $(EXTRA_PROGRAMS) $(distributed_TESTS)
50
51TEST_EXTENSIONS = .sh
52
53EXTRA_DIST = $(distributed_TESTS)
54
55# tests not yet passing are listed here
56XFAIL_TESTS =
57
58noinst_HEADERS = Suite.h
59
60check_LIBRARIES = libsvndigesttest.a
61
62LDADD = $(builddir)/libsvndigesttest.a \
63  $(top_builddir)/lib/libsvndigest.a \
64  $(top_builddir)/yat/libyat.a \
65  $(SVN_LIBS) $(APR_LIBS) $(PLPLOT_LIBS)
66AM_LDFLAGS = $(SVNDIGEST_LDFLAGS)
67
68AM_CPPFLAGS = -I$(top_srcdir) $(SVNDIGEST_CPPFLAGS)
69AM_CXXFLAGS = $(SVNDIGEST_CXXFLAGS)
70
71libsvndigesttest_a_SOURCES = Suite.cc
72
73clean-local:
74  rm -rf generated_output toy_project testSubDir
75
76mostlyclean-local:
77  rm -f *.png *.tmp *~
78
79.PHONY: lazycheck
80
81lazycheck:; $(MAKE) $(AM_MAKEFLAGS) check RECHECK_LOGS=
82
83# dependencies for lazycheck
84cmd_format_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT)
85config2_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT)
86config3_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT)
87copyright2_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT)
88repo_status_test.log:init.sh
89repo_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT)
90svncopyright_test.log:init.sh $(top_builddir)/bin/svncopyright$(EXEEXT)
91svndigest_copy_cache_test.log:init.sh $(top_builddir)/bin/svndigest-copy-cache
92
93
Note: See TracBrowser for help on using the repository browser.