aboutsummaryrefslogtreecommitdiffhomepage
path: root/configure.ac
diff options
context:
space:
mode:
authorRobin Haberkorn <robin.haberkorn@googlemail.com>2016-02-16 03:02:01 +0100
committerRobin Haberkorn <robin.haberkorn@googlemail.com>2016-02-16 03:19:32 +0100
commit107536fe38773ebe408cee5e01add97989797370 (patch)
treec71f895115dca3289f2be135bdf4e7b513dac994 /configure.ac
parent845738eb874cc2ca80b45a4fe873b25207179197 (diff)
downloadsciteco-107536fe38773ebe408cee5e01add97989797370.tar.gz
finally added Autotest suite
* Autotest ships with Autoconf, so it's available already and relatively easy to integrate into an Autotools package. * This is attached to `make check` using some Automake magic. * The test suite will only call the built SciTECO for the time being. But using tests/Makefile.am, custom programs could be easily built. * Since it uses the target sciteco, it cannot work in cross-compile environments. * The test suite tests/testsuite.at should be used for regression tests at least: Whenever there is a bug, a test case should be added to testsuite.at. Later this might be split up into multiple includes for regressions other tests.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 56e61c9..4d17cf9 100644
--- a/configure.ac
+++ b/configure.ac
@@ -13,6 +13,7 @@ AC_DEFINE_UNQUOTED(PACKAGE_URL_DEV, ["$PACKAGE_URL_DEV"],
AC_CONFIG_AUX_DIR(config)
AM_INIT_AUTOMAKE
+AC_CONFIG_TESTDIR([tests])
AC_CONFIG_SRCDIR([src/main.cpp])
AC_CONFIG_HEADERS([config.h])
@@ -342,4 +343,5 @@ AC_CONFIG_FILES([Makefile])
AC_CONFIG_FILES([src/Makefile src/interface-gtk/Makefile src/interface-curses/Makefile])
AC_CONFIG_FILES([lib/Makefile])
AC_CONFIG_FILES([doc/Makefile doc/Doxyfile])
+AC_CONFIG_FILES([tests/Makefile tests/atlocal])
AC_OUTPUT