This commit makes check_word_hash() run to finish even when there
is a failure during the run.  The test will still fail due to the
output check in AT_CHECK.  And developers can benefit from having
all failed hashes instead of only the first one.

Signed-off-by: Alex Wang <[email protected]>
---
 tests/test-hash.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/tests/test-hash.c b/tests/test-hash.c
index 317466e..abec33d 100644
--- a/tests/test-hash.c
+++ b/tests/test-hash.c
@@ -100,7 +100,6 @@ check_word_hash(uint32_t (*hash)(uint32_t), const char 
*name,
                     printf("%s(%08"PRIx32") = %08"PRIx32"\n", name, in2, out2);
                     printf("%d bits of output starting at bit %d "
                            "are both 0x%"PRIx32"\n", min_unique, ofs, bits1);
-                    exit(1);
                 }
             }
         }
-- 
1.7.9.5

_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev

Reply via email to