diff options
Diffstat (limited to 'tests/vboot_common_tests.c')
-rw-r--r-- | tests/vboot_common_tests.c | 13 |
1 files changed, 0 insertions, 13 deletions
diff --git a/tests/vboot_common_tests.c b/tests/vboot_common_tests.c index 04d32611..277a44a0 100644 --- a/tests/vboot_common_tests.c +++ b/tests/vboot_common_tests.c @@ -40,18 +40,6 @@ static void StructPackingTest(void) "sizeof(VbSharedDataHeader) V2"); } -/* Test array size macro */ -static void ArraySizeTest(void) -{ - uint8_t arr1[12]; - uint32_t arr2[7]; - uint64_t arr3[9]; - - TEST_EQ(ARRAY_SIZE(arr1), 12, "ARRAYSIZE(uint8_t)"); - TEST_EQ(ARRAY_SIZE(arr2), 7, "ARRAYSIZE(uint32_t)"); - TEST_EQ(ARRAY_SIZE(arr3), 9, "ARRAYSIZE(uint64_t)"); -} - /* Helper functions not dependent on specific key sizes */ static void VerifyHelperFunctions(void) { @@ -222,7 +210,6 @@ static void VbSharedDataTest(void) int main(int argc, char* argv[]) { StructPackingTest(); - ArraySizeTest(); VerifyHelperFunctions(); PublicKeyTest(); VbSharedDataTest(); |