From 9818664315a514b187719792d77723ad9e18dcdf Mon Sep 17 00:00:00 2001 From: Max Date: Wed, 18 Oct 2017 13:14:49 +0200 Subject: Add tests for bitvec_write_field() This function is actively used by OsmoPCU but have not been covered by tests so far. The test code is based on Minh-Quang Nguyen submission with some modifications. The test's FIXME will be addressed in follow-up patches. Change-Id: I2ee544256b8675bc62a42493aab66a8eeee54f90 Related: OS#1526 --- tests/testsuite.at | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/testsuite.at') diff --git a/tests/testsuite.at b/tests/testsuite.at index 483860fc..4a59b221 100644 --- a/tests/testsuite.at +++ b/tests/testsuite.at @@ -45,6 +45,12 @@ cat $abs_srcdir/bits/bitcomp_test.ok > expout AT_CHECK([$abs_top_builddir/tests/bits/bitcomp_test], [0], [expout]) AT_CLEANUP +AT_SETUP([bitfield]) +AT_KEYWORDS([bitfield]) +cat $abs_srcdir/bits/bitfield_test.ok > expout +AT_CHECK([$abs_top_builddir/tests/bits/bitfield_test], [0], [expout]) +AT_CLEANUP + AT_SETUP([conv]) AT_KEYWORDS([conv]) cat $abs_srcdir/conv/conv_test.ok > expout -- cgit v1.2.3