Changeset b5279f0


Ignore:
Timestamp:
Apr 27, 2008, 1:04:01 PM (18 years ago)
Author:
Frederik Heber <heber@…>
Children:
1ddebb
Parents:
16cd31
Message:

Complete test kit (make check) for the three parts: pcp, molecuilder, utilites is incorporated via autotest

In directory tests of each subdir there are the following files:

  • atlocal.in: sets some variables such as prefix and others via automake and configure for the tests
  • Makefile.am: Hooks for the checks and automatic generation of package.m4
  • <exe>.in: Wrapper for the executable, for correct paths and so on
  • testsuite.at: the actual tests in a similar grammar to autoconf
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • molecuilder/Makefile.am

    r16cd31 rb5279f0  
    11ACLOCAL_AMFLAGS = -I m4
    2 SUBDIRS = src doc
     2SUBDIRS = src doc tests
    33
    44EXTRA_DIST = autogen.sh
  • molecuilder/configure.ac

    r16cd31 rb5279f0  
    9696fi
    9797
     98# test suite
     99AC_CONFIG_TESTDIR(tests)
     100AC_CONFIG_FILES([tests/atlocal tests/Makefile])
     101AC_CONFIG_FILES([tests/molecuilder], [chmod +x tests/molecuilder])
     102
    98103AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile])
    99104AC_OUTPUT
  • pcp/Makefile.am

    r16cd31 rb5279f0  
    11ACLOCAL_AMFLAGS = -I m4
    2 SUBDIRS = src doc
     2SUBDIRS = src doc tests
    33DIST_SUBDIRS = ${SUBDIRS}
    44
     
    1414#pseudopots.tar.gz:
    1515#       $(TAR) -zcvf $(srcdir)/pseudopots.tar.gz `find  $(srcdir) -name 'pseudo.??'`
     16
  • pcp/configure.ac

    r16cd31 rb5279f0  
    175175
    176176# test suite
    177 #AC_CONFIG_TESTDIR(tests)
    178 #AC_CONFIG_FILES([tests/m4], [chmod +x tests/m4])
    179 #AC_CONFIG_FILES([tests/Makefile tests/atlocal])
     177AC_CONFIG_TESTDIR(tests)
     178AC_CONFIG_FILES([tests/atlocal tests/Makefile])
     179AC_CONFIG_FILES([tests/pcp], [chmod +x tests/pcp])
    180180
    181181AC_CONFIG_FILES([Makefile src/Makefile doc/Makefile])
  • util/Makefile.am

    r16cd31 rb5279f0  
    11#ACLOCAL_AMFLAGS = -I m4
    2 SUBDIRS = doc
     2SUBDIRS = doc tests
    33
    44bin_PROGRAMS = \
  • util/configure.ac

    r16cd31 rb5279f0  
    6161AC_FUNC_MALLOC
    6262AC_FUNC_REALLOC
     63
     64# test suite
     65AC_CONFIG_TESTDIR(tests)
     66AC_CONFIG_FILES([tests/atlocal tests/Makefile])
     67#AC_CONFIG_FILES([tests/pcp], [chmod +x tests/pcp])
     68
    6369AC_CHECK_FUNCS([pow sqrt strchr strrchr strstr])
    6470AC_CONFIG_FILES([Makefile doc/Makefile])
Note: See TracChangeset for help on using the changeset viewer.