summaryrefslogtreecommitdiffstats
path: root/src/host/gprsdecode/tests/testsuite.at
diff options
context:
space:
mode:
Diffstat (limited to 'src/host/gprsdecode/tests/testsuite.at')
-rw-r--r--src/host/gprsdecode/tests/testsuite.at20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/host/gprsdecode/tests/testsuite.at b/src/host/gprsdecode/tests/testsuite.at
new file mode 100644
index 00000000..d764590b
--- /dev/null
+++ b/src/host/gprsdecode/tests/testsuite.at
@@ -0,0 +1,20 @@
+AT_INIT
+AT_BANNER([Regression tests.])
+
+AT_SETUP([sample/cs2])
+AT_KEYWORDS([cs2])
+cat $abs_srcdir/cs2.decoded > expout
+AT_CHECK([
+ $abs_top_builddir/gprsdecode \
+ -c $abs_srcdir/cs2.sample
+], [0], [expout], [ignore])
+AT_CLEANUP
+
+AT_SETUP([sample/cs3])
+AT_KEYWORDS([cs3])
+cat $abs_srcdir/cs3.decoded > expout
+AT_CHECK([
+ $abs_top_builddir/gprsdecode \
+ -c $abs_srcdir/cs3.sample
+], [0], [expout], [ignore])
+AT_CLEANUP