source: trunk/test/Makefile.am

Last change on this file was 1608, checked in by Peter Johansson, 2 years ago

merge recent changes from 0.10-stable branch into trunk

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 4.9 KB
RevLine 
[84]1## Process this file with automake to produce Makefile.in
2##
3## $Id: Makefile.am 1608 2020-07-14 00:40:18Z peter $
4
[1267]5# Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Jari Häkkinen, Peter Johansson
[1571]6# Copyright (C) 2011, 2012, 2015 Peter Johansson
[6]7#
[687]8# This file is part of svndigest, http://dev.thep.lu.se/svndigest
[84]9#
[149]10# svndigest is free software; you can redistribute it and/or modify it
[84]11# under the terms of the GNU General Public License as published by
[693]12# the Free Software Foundation; either version 3 of the License, or
[84]13# (at your option) any later version.
14#
[149]15# svndigest is distributed in the hope that it will be useful, but
[84]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
[693]21# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
[8]22
[1525]23check_SCRIPTS = test/svn_update.sh test/init.sh
[248]24
[1525]25## we use suffix .cc for all test source
[1047]26AM_DEFAULT_SOURCE_EXT = .cc
27
[1525]28EXTRA_PROGRAMS = test/cache.test test/cache_partial.test test/color.test \
29  test/config.test test/copyright.test test/date.test \
30  test/graph.test test/htmlstream.test test/ignore_rev.test \
31  test/parser.test test/option.test test/stats.test \
[1555]32  test/svn_cat.test test/svn_cat2.test \
33  test/svn_log.test test/trac.test test/utility.test \
[1525]34  test/vector.test
[556]35
[1525]36CLEANFILES += $(EXTRA_PROGRAMS)
[1046]37
[1599]38test_option_test_SOURCES = test/option.cc bin/Parameter.cc \
39  bin/AbstractParameter.cc bin/svndigestParameter.cc
[1264]40
[954]41distributed_TESTS =
[1525]42distributed_TESTS += test/cmd_format_test.sh
43distributed_TESTS += test/config2_test.sh
44distributed_TESTS += test/config3_test.sh
45distributed_TESTS += test/config_props_test.sh
46distributed_TESTS += test/copyright2_test.sh
[1553]47distributed_TESTS += test/copyright3_test.sh
[1525]48distributed_TESTS += test/copyright_cache_test.sh
49distributed_TESTS += test/error_test.sh
50distributed_TESTS += test/ignore_revs_test.sh
51distributed_TESTS += test/link_root_test.sh
52distributed_TESTS += test/permission_test.sh
53distributed_TESTS += test/remove_cache_test.sh
54distributed_TESTS += test/repo_status_test.sh
55distributed_TESTS += test/repo_test.sh
56distributed_TESTS += test/svncopyright_test.sh
57distributed_TESTS += test/svndigest_copy_cache_test.sh
58distributed_TESTS += test/svndigest_copy_cache_test2.sh
59distributed_TESTS += test/traverse_test.sh
60distributed_TESTS += test/try_help_test.sh
[1533]61distributed_TESTS += test/update_test.sh
[1539]62distributed_TESTS += test/update_test2.sh
63distributed_TESTS += test/update_test3.sh
64distributed_TESTS += test/update_test4.sh
[953]65
[1046]66TESTS = $(EXTRA_PROGRAMS) $(distributed_TESTS)
[8]67
[1164]68TEST_EXTENSIONS = .sh .test
[1047]69
[1525]70EXTRA_DIST += $(distributed_TESTS)
[912]71
[598]72# tests not yet passing are listed here
[1555]73XFAIL_TESTS = test/copyright3_test.sh test/svn_cat2.test
[595]74
[1525]75noinst_HEADERS += test/Suite.h
[595]76
[1525]77check_LIBRARIES = test/libsvndigesttest.a
[8]78
[1525]79LDADD = test/libsvndigesttest.a \
80  lib/libsvndigest_core.a \
81  yat/libyat.a \
[888]82  $(SVN_LIBS) $(APR_LIBS) $(PLPLOT_LIBS)
[1290]83
84## graph test needs to link against Graph class
[1608]85test_graph_test_LDADD = test/libsvndigesttest.a \
86  lib/libsvndigest.a lib/libsvndigest_core.a yat/libyat.a \
87  $(SVN_LIBS) $(APR_LIBS) $(PLPLOT_LIBS)
[1290]88
[1525]89test_libsvndigesttest_a_SOURCES = test/Suite.cc
[596]90
[1046]91.PHONY: lazycheck
92
[1478]93lazycheck:; $(MAKE) $(AM_MAKEFLAGS) check RECHECK_LOGS=
[1048]94
[1315]95if HAVE_SVN_WC
[1525]96repo_stamp = $(srcdir)/test/repo/db/current test/svn_update.sh
[1315]97else
98repo_stamp =
99endif
[1160]100
[1048]101# dependencies for lazycheck
[1536]102test/cmd_format_test.log: test/init.sh bin/svndigest$(EXEEXT) $(repo_stamp)
103test/config2_test.log: test/init.sh bin/svndigest$(EXEEXT) $(repo_stamp)
104test/config3_test.log: test/init.sh bin/svndigest$(EXEEXT)
105test/config_props_test.log: test/init.sh bin/svndigest$(EXEEXT) $(repo_stamp)
106test/copyright2_test.log: test/init.sh bin/svncopyright$(EXEEXT) $(repo_stamp)
[1554]107test/copyright3_test.log: test/init.sh bin/svncopyright$(EXEEXT) $(repo_stamp)
[1536]108test/copyright_cache_test.log: test/init.sh bin/svncopyright$(EXEEXT) \
[1525]109  $(repo_stamp)
[1536]110test/link_root_test.log: test/init.sh bin/svndigest$(EXEEXT) $(repo_stamp)
111test/permission_test.log: test/init.sh bin/svncopyright$(EXEEXT) $(repo_stamp)
112test/repo_status_test.log: test/init.sh
113test/repo_test.log: test/init.sh bin/svndigest$(EXEEXT) $(repo_stamp)
114test/svncopyright_test.log: test/init.sh bin/svncopyright$(EXEEXT)
115test/svndigest_copy_cache_test.log: test/init.sh bin/svndigest-copy-cache \
[1525]116  $(repo_stamp)
[1536]117test/svndigest_copy_cache_test.log: test/init.sh bin/svndigest-copy-cache \
118  $(repo_stamp)
119test/try_help_test.log: test/init.sh bin/svndigest
120test/try_help_test.log: test/init.sh bin/svndigest $(repo_stamp)
121test/update_test.log: test/init.sh bin/svndigest $(repo_stamp)
[1539]122test/update_test2.log: test/init.sh bin/svndigest $(repo_stamp)
123test/update_test3.log: test/init.sh bin/svndigest $(repo_stamp)
124test/update_test4.log: test/init.sh bin/svndigest $(repo_stamp)
[1048]125
[1539]126test/cache_partial.log: $(repo_stamp)
127test/copyright.log: $(repo_stamp)
128test/stats.log: $(repo_stamp)
[1598]129test/svn_cat.log: $(repo_stamp)
Note: See TracBrowser for help on using the repository browser.