summaryrefslogtreecommitdiff
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorThorsten Alteholz <debian@alteholz.de>2018-04-09 19:46:02 +0200
committerThorsten Alteholz <debian@alteholz.de>2018-04-09 19:46:02 +0200
commit5d0d8129bbf6c41346205c4654149187d134eef0 (patch)
treef77af870d00411e1b6b4054467ab0db35d1b035c /tests/testsuite.at
Import Upstream version 0.3.2+20151106git86fc3c8
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at25
1 files changed, 25 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
new file mode 100644
index 0000000..ff550b0
--- /dev/null
+++ b/tests/testsuite.at
@@ -0,0 +1,25 @@
+AT_INIT
+AT_BANNER([Regression tests.])
+
+# Example for tests.. copy and uncomment. This creates a new category
+# and test. It will copy the expected output to expout and then run
+# the given test. The stdout will be compared with the expout to determine
+# if the test was successfull.
+# AT_SETUP([NAME])
+# AT_KEYWORDS([NAME])
+# cat $abs_srcdir/NAME/NAME_test.ok > expout
+# AT_CHECK([$abs_top_builddir/tests/NAME/NAME_test], [], [expout])
+# AT_CLEANUP
+
+AT_SETUP([ipa_recv])
+AT_KEYWORDS([ipa_recv])
+cat $abs_srcdir/ipa_recv/ipa_recv_test.ok > expout
+AT_CHECK([$abs_top_builddir/tests/ipa_recv/ipa_recv_test], [], [expout],[ignore])
+AT_CLEANUP
+
+AT_SETUP([subchan_demux])
+AT_KEYWORDS([subchan_demux])
+cat $abs_srcdir/subchan_demux/subchan_demux_test.ok > expout
+AT_CHECK([$abs_top_builddir/tests/subchan_demux/subchan_demux_test], [], [expout])
+AT_CLEANUP
+