diff options
author | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-11-20 10:47:14 +0100 |
---|---|---|
committer | Holger Hans Peter Freyther <zecke@selfish.org> | 2011-11-20 10:47:14 +0100 |
commit | 475291355dc2c48dbde85559616dda415042ee13 (patch) | |
tree | d1d36a46f04a3e391cdb87f8a9f6ffca20191b57 /tests/isup/isup_parse_test.c | |
parent | fd8513d8c398b08d0f4812b6df5a8fac7e629969 (diff) |
tests: Add GNU Autotest invocation for the tests we have here
Add some std output of the applications, integrate tests.
Diffstat (limited to 'tests/isup/isup_parse_test.c')
-rw-r--r-- | tests/isup/isup_parse_test.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/isup/isup_parse_test.c b/tests/isup/isup_parse_test.c index c6dbdf4..6bb582a 100644 --- a/tests/isup/isup_parse_test.c +++ b/tests/isup/isup_parse_test.c @@ -35,6 +35,8 @@ static void test_cic_parsing() static const uint8_t isup_grs[] = {3, 0, 23, 1, 1, 28}; struct isup_msg_hdr *hdr; + printf("Testing CIC parsing.\n"); + hdr = (struct isup_msg_hdr *) isup_grs; ASSERT(hdr->cic, 3); ASSERT(hdr->msg_type, ISUP_MSG_GRS); @@ -46,6 +48,8 @@ static void test_grs_parsing() struct isup_msg_hdr *hdr; int range; + printf("Testing GRS parsing.\n"); + hdr = (struct isup_msg_hdr *) isup_grs; range = isup_parse_status(&hdr->data[0], 3); |