Changeset 1055


Ignore:
Timestamp:
Apr 21, 2010, 5:16:54 PM (11 years ago)
Author:
Peter Johansson
Message:

first (dummie) version of svncopyright. refs #307

Location:
trunk
Files:
1 added
2 edited
1 copied

Legend:

Unmodified
Added
Removed
  • trunk/bin/Makefile.am

    r978 r1055  
    55# Copyright (C) 2005 Jari Häkkinen
    66# Copyright (C) 2006, 2007, 2008, 2009 Jari Häkkinen, Peter Johansson
     7# Copyright (C) 2010 Peter Johansson
    78#
    89# This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    2122# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
    2223
    23 bin_PROGRAMS = svndigest
     24bin_PROGRAMS = svndigest svncopyright
    2425
    2526svndigest_SOURCES = Parameter.cc svndigest.cc
     27svncopyright_SOURCES = Parameter.cc svncopyright.cc
    2628
    2729noinst_HEADERS = Parameter.h
  • trunk/test/Makefile.am

    r1049 r1055  
    3939distributed_TESTS += repo_status_test.sh
    4040distributed_TESTS += repo_test.sh
     41distributed_TESTS += svncopyright_test.sh
    4142distributed_TESTS += svndigest_copy_cache_test.sh
    4243
     
    8384repo_status_test.log:init.sh
    8485repo_test.log:init.sh $(top_builddir)/bin/svndigest$(EXEEXT)
     86svncopyright_test.log:init.sh $(top_builddir)/bin/svncopyright$(EXEEXT)
    8587svndigest_copy_cache_test.log:init.sh $(top_builddir)/bin/svndigest-copy-cache
    8688
  • trunk/test/svncopyright_test.sh

    r1054 r1055  
    22# $Id$
    33#
    4 # Copyright (C) 2009 Peter Johansson
     4# Copyright (C) 2009, 2010 Peter Johansson
    55#
    66# This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    1919# along with svndigest. If not, see <http://www.gnu.org/licenses/>.
    2020
    21 required="repo"
     21required=""
    2222
    2323. ./init.sh || exit 1
     
    2525
    2626for opt in --version --help; do
    27   ../bin/svndigest-copy-cache $opt > out.tmp 2> error.tmp
     27  ../bin/svncopyright $opt > out.tmp 2> error.tmp
    2828  test -n "`cat out.tmp`" || exit_fail
    2929  test -z "`cat error.tmp`" || exit_fail
     
    3131done
    3232
    33 pristine=$abs_builddir/.toy_project2
    34 rm -rf $pristine
    35 $SVN co ${repo_url}/trunk $pristine
    36 $abs_top_builddir/bin/svndigest-copy-cache -v -r $rootdir -t $pristine
    37 
    38 rm -rf $pristine
    3933exit_success
Note: See TracChangeset for help on using the changeset viewer.