1 | #!@SHELL@ |
---|
2 | # @configure_input@ |
---|
3 | |
---|
4 | # $Id: test_repo.sh.in 744 2009-01-08 22:37:12Z peter $ |
---|
5 | |
---|
6 | # Copyright (C) 2007 Jari Häkkinen, Peter Johansson |
---|
7 | # Copyright (C) 2008, 2009 Peter Johansson |
---|
8 | # |
---|
9 | # This file is part of svndigest, http://dev.thep.lu.se/svndigest |
---|
10 | # |
---|
11 | # svndigest is free software; you can redistribute it and/or modify it |
---|
12 | # under the terms of the GNU General Public License as published by |
---|
13 | # the Free Software Foundation; either version 3 of the License, or |
---|
14 | # (at your option) any later version. |
---|
15 | # |
---|
16 | # svndigest is distributed in the hope that it will be useful, but |
---|
17 | # WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
18 | # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
---|
19 | # General Public License for more details. |
---|
20 | # |
---|
21 | # You should have received a copy of the GNU General Public License |
---|
22 | # along with svndigest. If not, see <http://www.gnu.org/licenses/>. |
---|
23 | |
---|
24 | rootdir=@abs_builddir@/toy_project |
---|
25 | targetdir=@abs_builddir@/generated_output |
---|
26 | |
---|
27 | test_repo_found="@test_repo_found@" |
---|
28 | if test $test_repo_found = "no"; then |
---|
29 | exit 77; |
---|
30 | fi |
---|
31 | |
---|
32 | cd @abs_builddir@ && @SHELL@ svn_update.sh; |
---|
33 | |
---|
34 | if [ ! -d $targetdir ]; then |
---|
35 | mkdir $targetdir; |
---|
36 | fi |
---|
37 | |
---|
38 | @abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir \ |
---|
39 | --ignore-cache --no-report $1; |
---|
40 | |
---|
41 | @abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir -f $1; |
---|
42 | |
---|