summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorhathach <[email protected]>2013-05-09 16:57:48 +0700
committerhathach <[email protected]>2013-05-09 16:57:48 +0700
commit7e93dc2c8de261dd4a73f703a471525c00d0184e (patch)
tree531615b3eae643940091f3df746e49bcffc366b0 /tests
parent7de505cb75de1b6f3c0e928f037de406249d3fb4 (diff)
test pointer size on travis system
Diffstat (limited to 'tests')
-rw-r--r--tests/test/host/ehci/test_ehci_structure.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test/host/ehci/test_ehci_structure.c b/tests/test/host/ehci/test_ehci_structure.c
index 43baa1704..8c8fcbdb2 100644
--- a/tests/test/host/ehci/test_ehci_structure.c
+++ b/tests/test/host/ehci/test_ehci_structure.c
@@ -98,6 +98,8 @@ void test_struct_alignment(void)
void test_struct_size(void)
{
+ TEST_ASSERT_EQUAL( 4, sizeof(void*));
+ TEST_ASSERT_EQUAL( 4, sizeof(ehci_qtd_t*));
TEST_ASSERT_EQUAL( 64, sizeof(ehci_qhd_t) );
TEST_ASSERT_EQUAL( 32, sizeof(ehci_qtd_t) );