Changeset 246 for branches


Ignore:
Timestamp:
Apr 29, 2007, 12:41:58 AM (14 years ago)
Author:
Peter Johansson
Message:

the file and directory tests are obsolete and therefore removed if WCTEST is true test_repo.sh is created which runs svndigest on a the toy repository refs #125

Location:
branches/test-suite/test
Files:
1 added
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • branches/test-suite/test/Makefile.am

    r221 r246  
    2222# 02111-1307, USA.
    2323
    24 TESTS = gnuplot_pipe parser
     24check_PROGRAMS = gnuplot_pipe parser
     25
     26TESTS = $(check_PROGRAMS)
     27# this test is only for developers since we do not distribute test repository
    2528if WCTESTS
    26 TESTS += directory file
     29TESTS += test_repo.sh
    2730endif
    28 
    29 check_PROGRAMS = $(TESTS)
    3031
    3132LDADD = $(STATICFLAG) @top_builddir@/lib/libsvndigest.la
     
    3334AM_CPPFLAGS = -I@top_srcdir@/lib
    3435
    35 directory_SOURCES = directory.cc
    36 file_SOURCES = file.cc
    3736gnuplot_pipe_SOURCES = gnuplot_pipe.cc
    3837parser_SOURCES = parser.cc
    3938
     39test_repo.sh: test_repo.in Makefile.am
     40  @echo \#!$(SHELL) > $@;
     41  @echo srcdir=$(srcdir) >> $@;
     42  @echo top_builddir=$(top_builddir) >> $@;
     43  @echo targetdir=$(srcdir)/generated_output >> $@;
     44  @cat test_repo.in >> $@;
     45  @chmod 744 $@;
     46  @echo create $@; 
     47
    4048clean-local:
    41   rm -rf *.png *.tmp *~
     49  rm -rf *.png *.tmp *~ test_repo.sh $(srcdir)/generated_output;
     50
Note: See TracChangeset for help on using the changeset viewer.