mirror of
https://github.com/openvswitch/ovs
synced 2025-10-29 15:28:56 +00:00
test-hash: Do not exit check_word_hash() when there is a failure.
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 <alexw@nicira.com> Acked-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user