aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-04-05 11:11:05 +0300
committerPetteri Aimonen <jpa@git.mail.kapsi.fi>2014-04-05 11:11:05 +0300
commite5b855fec5d2977971f96d817728c7a3ee8077b2 (patch)
tree33dbf33ea17c072d4db878ee043d2244f2ab638c /tests
parent70dee34da6578ab76dbf00009357d679e154e04b (diff)
Add a 'found' field to pb_extension_t.
Update issue 112 Status: FixedInGit
Diffstat (limited to 'tests')
-rw-r--r--tests/extensions/decode_extensions.c2
-rw-r--r--tests/splint/splint.rc1
2 files changed, 3 insertions, 0 deletions
diff --git a/tests/extensions/decode_extensions.c b/tests/extensions/decode_extensions.c
index f8ebbde0..e4374380 100644
--- a/tests/extensions/decode_extensions.c
+++ b/tests/extensions/decode_extensions.c
@@ -49,7 +49,9 @@ int main(int argc, char **argv)
}
/* Check that the extensions decoded properly */
+ TEST(ext1.found)
TEST(extensionfield1 == 12345)
+ TEST(ext2.found)
TEST(strcmp(extensionfield2.test1, "test") == 0)
TEST(extensionfield2.test2 == 54321)
diff --git a/tests/splint/splint.rc b/tests/splint/splint.rc
index c77e210f..421f5677 100644
--- a/tests/splint/splint.rc
+++ b/tests/splint/splint.rc
@@ -27,6 +27,7 @@
-dependenttrans
-kepttrans
-branchstate
+-immediatetrans
# These tests give false positives, compiler typically has
# better warnings for these.