mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-12 09:41:26 +00:00
[test][hwasan] Relax test condition
The test is flaky after Kernel upgrade from 6.0 to 6.5.
This commit is contained in:
parent
aaf87dd2ae
commit
f665700647
@ -54,7 +54,7 @@ void test_rss_difference(void *p) {
|
||||
size_t diff = rss_before - rss_after;
|
||||
fprintf(stderr, "diff %zu\n", diff);
|
||||
// Check that the difference is at least close to kNumShadowPages.
|
||||
assert(diff > kNumShadowPages / 4 * 3);
|
||||
assert(diff > kNumShadowPages / 2);
|
||||
}
|
||||
|
||||
int main() {
|
||||
|
Loading…
Reference in New Issue
Block a user