forked from OSchip/llvm-project
[NFC][sanitizer] Fail test quickly
This commit is contained in:
parent
9e3e1aad31
commit
aeeacbd989
|
@ -37,6 +37,8 @@ class StackStoreTest : public testing::Test {
|
|||
if (!s.size && !s.tag)
|
||||
continue;
|
||||
fn(s);
|
||||
if (HasFailure())
|
||||
return;
|
||||
std::next_permutation(frames.begin(), frames.end());
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue