Changeset 744 for trunk/configure.ac


Ignore:
Timestamp:
Jan 8, 2009, 11:37:12 PM (13 years ago)
Author:
Peter Johansson
Message:

fixes #355 - skipping tests. Added some support in test::Suite to handle the test repo. There is a bool in constructor telling if the tests needs the test repo. test::Suite uses a new script svn_update.sh to check out and update the test repo. This script is used in test_repo.sh as well.

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk

    • Property svn:ignore
      •  

        old new  
        88autom4te.cache
        99INSTALL
        10 COPYING
        1110aclocal.m4
        1211Makefile
  • trunk/configure.ac

    r743 r744  
    1313# Copyright (C) 2006 Jari Häkkinen
    1414# Copyright (C) 2007, 2008 Jari Häkkinen, Peter Johansson
     15# Copyright (C) 2009 Peter Johansson
    1516#
    1617# This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    170171# checking if we have test repo
    171172test_repo_filename=$srcdir/test/repo;
    172 AC_CHECK_FILE([$test_repo_filename], [test_repo_found="yes"],
     173AC_CHECK_FILE([$test_repo_filename],
     174              [AC_DEFINE([HAVE_TEST_REPO],[1],[define if test repo is available])
     175               test_repo_found="yes"],
    173176              [test_repo_found="no"])
    174 AM_CONDITIONAL([HAVE_TEST_REPO], [test "$test_repo_found" = "yes"])
    175177if (test "$test_repo_found" = "yes"); then
    176178   dnl test repo is not distributed
    177179   AC_CONFIG_FILES([test/test_repo.sh], [chmod +x test/test_repo.sh])
     180   AC_CONFIG_FILES([test/svn_update.sh], [chmod +x test/svn_update.sh])
    178181   AC_CONFIG_FILES([test/check_repo_status.sh],
    179182                   [chmod +x test/check_repo_status.sh])   
Note: See TracChangeset for help on using the changeset viewer.