aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/testsuite.at
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 /tests/testsuite.at
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 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
new file mode 100644
index 0000000..b43f874
--- /dev/null
+++ b/tests/testsuite.at
@@ -0,0 +1,5 @@
+AT_INIT
+
+AT_SETUP([Closing loops at the correct macro level])
+AT_CHECK([$SCITECO -e '@^Ua{>} <Ma'], 1, ignore, ignore)
+AT_CLEANUP