Changeset 568
- Timestamp:
- Mar 12, 2008, 11:08:49 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Makefile.am
r519 r568 27 27 clean-local: 28 28 rm -rf svndigest *~ 29 30 bajs.in: kiss 31 cp kiss bajs.in -
trunk/configure.ac
r567 r568 40 40 test $prefix = NONE && prefix=/usr/local 41 41 42 A M_CONFIG_HEADER([config.h])42 AC_CONFIG_HEADER([config.h]) 43 43 AM_INIT_AUTOMAKE([std-options check-news]) 44 44 … … 157 157 bin/Makefile 158 158 lib/Makefile 159 test/Makefile]) 159 test/Makefile 160 test/test_repo.sh 161 test/check_repo_status.sh], 162 [chmod +x test/test_repo.sh; 163 chmod +x test/check_repo_status.sh]) 160 164 161 165 # Print failure status information about selected items, and exit if -
trunk/test/Makefile.am
r556 r568 49 49 50 50 toy_project = toy_project 51 52 # some tests need the test repo to be checked out53 stats_test_DEPENDENCIES = $(toy_project) @top_builddir@/lib/libsvndigest.la54 55 51 rootdir = $(abs_srcdir)/$(toy_project) 56 52 targetdir = $(abs_builddir)/generated_output 57 53 repodir = $(abs_srcdir)/repo/trunk 58 54 59 do_subst = $(SED) -e 's,%SHELL%,$(SHELL),g' \60 -e 's,%SED%,$(SED),g' \61 -e 's,%DISTFILES%,$(DISTFILES),g' \62 -e 's,%GREP%,$(GREP),g' \63 -e 's,%abs_srcdir%,$(abs_srcdir),g' \64 -e 's,%repodir%,$(repodir),g' \65 -e 's,%rootdir%,$(rootdir),g' \66 -e 's,%targetdir%,$(targetdir),g' \67 -e 's,%abs_top_builddir%,$(abs_top_builddir),g'68 55 69 70 check_repo_status.sh: check_repo_status.sh.in Makefile 71 @$(do_subst) < $< > $@ 72 @chmod +x $@ 73 @echo creating $@ 74 75 test_repo.sh: test_repo.sh.in Makefile $(toy_project) 76 @$(do_subst) < $< > $@ 77 @chmod +x $@ 78 @echo creating $@ 56 # some tests need the test repo to be checked out 57 stats_test_DEPENDENCIES = $(toy_project) @top_builddir@/lib/libsvndigest.la 79 58 80 59 $(toy_project): … … 84 63 clean-local: 85 64 rm -rf *.png *.tmp *~ check_repo_status.sh test_repo.sh \ 86 $(targetdir) 65 $(targetdir) -
trunk/test/check_repo_status.sh.in
r540 r568 1 #!%SHELL% 1 #!@SHELL@ 2 # @configure_input@ 3 2 4 # $Id$ 3 5 -
trunk/test/test_repo.sh.in
r556 r568 1 #!%SHELL% 1 #!@SHELL@ 2 # @configure_input@ 3 2 4 # $Id$ 3 5 4 6 # Copyright (C) 2007 Jari Häkkinen, Peter Johansson 7 # Copyright (C) 2008 Peter Johansson 5 8 # 6 9 # This file is part of svndigest, http://trac.thep.lu.se/svndigest … … 21 24 # 02111-1307, USA. 22 25 23 svn update %rootdir% > /dev/null; 26 rootdir=@abs_srcdir@/toy_project 27 targetdir=@abs_builddir@/generated_output 28 repodir=@abs_srcdir@/repo/trunk 24 29 25 if [ ! -d %targetdir% ]; then 26 mkdir %targetdir%; 30 svn update $rootdir > /dev/null; 31 32 if [ ! -d $targetdir ]; then 33 mkdir $targetdir; 27 34 fi 28 35 29 %abs_top_builddir%/bin/svndigest -r %rootdir% -t %targetdir%-f \36 @abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir -f \ 30 37 --ignore-cache --no-report $1; 31 38 32 %abs_top_builddir%/bin/svndigest -r %rootdir% -t %targetdir%-f --copyright $1;39 @abs_top_builddir@/bin/svndigest -r $rootdir -t $targetdir -f --copyright $1; 33 40
Note: See TracChangeset
for help on using the changeset viewer.