Ignore:
Timestamp:
Dec 6, 2009, 8:42:30 AM (12 years ago)
Author:
Peter Johansson
Message:

introducing init.sh and using it. Added a README file in test directory including info on how to use init.sh. refs #418

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/test_repo.sh.in

    r847 r952  
    2222# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
    2323
    24 abs_top_builddir=@abs_top_builddir@
    25 abs_builddir=@abs_builddir@
    26 rootdir=$abs_builddir/toy_project
    27 targetdir=$abs_builddir/generated_output
     24required="repo"
    2825
    29 test_repo_found=@test_repo_found@
    30 if test x$test_repo_found != xyes; then
    31     exit 77;
    32 fi
     26. ./init.sh || exit 1
    3327
    34 while test $# -gt 0; do
    35     case "$1" in
    36     -v)
    37     VERBOSE=1
    38     ;;
    39     esac
    40     shift
    41 done
     28$mkdir_p $targetdir;
    4229
    43 if test -z "$VERBOSE"; then
    44   exec > /dev/null
    45 fi
     30$SVNDIGEST -r $rootdir -t $targetdir --ignore-cache --no-report || exit_fail;
    4631
    47 cd $abs_builddir && @SHELL@ svn_update.sh || exit 1;
     32$SVNDIGEST -r $rootdir -t $targetdir --force || exit_fail;
    4833
    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;
     34exit_success;
Note: See TracChangeset for help on using the changeset viewer.