source: branches/replacing_gnuplot/test/test_repo.sh.in @ 857

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

Merged trunk changes -r844:855 to replacing_gnuplot branch.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.4 KB
Line 
1#!@SHELL@
2# @configure_input@
3
4# $Id: test_repo.sh.in 857 2009-11-19 15:28:56Z jari $
5
6# Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
7# Copyright (C) 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
24abs_top_builddir=@abs_top_builddir@
25abs_builddir=@abs_builddir@
26rootdir=$abs_builddir/toy_project
27targetdir=$abs_builddir/generated_output
28
29test_repo_found=@test_repo_found@
30if test x$test_repo_found != xyes; then
31    exit 77;
32fi
33
34while test $# -gt 0; do
35    case "$1" in
36    -v)
37    VERBOSE=1
38    ;;
39    esac
40    shift
41done
42
43if test -z "$VERBOSE"; then
44  exec > /dev/null
45fi
46
47cd $abs_builddir && @SHELL@ svn_update.sh || exit 1;
48
49@MKDIR_P@ $targetdir;
50
51$abs_top_builddir/bin/svndigest -r $rootdir -t $targetdir \
52--ignore-cache --no-report --verbose;
53
54$abs_top_builddir/bin/svndigest -r $rootdir -t $targetdir -vf;
Note: See TracBrowser for help on using the repository browser.