aboutsummaryrefslogtreecommitdiffstats
path: root/tests/testsuite.at
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-21 21:30:23 +0100
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2013-11-21 21:30:23 +0100
commit6058220d2a05bada0a656809f9011fc86a1e22a5 (patch)
tree12cd337e06876c26f5b156051ff01258e3bd6287 /tests/testsuite.at
parent58db60c68ebf137ae2a886ec3bd1188431c84721 (diff)
types: Add a simple testcase for basic types and fix the LLC code
* Make append_data, remaining_space and fits_in_current.. work on m_length and not the index. This ways things can't overflow. * The current API consumer was moving the m_index so it should have worked okay.
Diffstat (limited to 'tests/testsuite.at')
-rw-r--r--tests/testsuite.at7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/testsuite.at b/tests/testsuite.at
index 4d770050..27f66b9f 100644
--- a/tests/testsuite.at
+++ b/tests/testsuite.at
@@ -22,3 +22,10 @@ cat $abs_srcdir/tbf/TbfTest.ok > expout
cat $abs_srcdir/tbf/TbfTest.err > experr
AT_CHECK([$abs_top_builddir/tests/tbf/TbfTest], [0], [expout], [experr])
AT_CLEANUP
+
+AT_SETUP([types])
+AT_KEYWORDS([types])
+cat $abs_srcdir/types/TypesTest.ok > expout
+cat $abs_srcdir/types/TypesTest.err > experr
+AT_CHECK([$abs_top_builddir/tests/types/TypesTest], [0], [expout], [experr])
+AT_CLEANUP