[PATCH] D29531: [libFuzzer] Consider exception names on tests.
Marcos Pividori via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 7 16:13:54 PST 2017
This revision was automatically updated to reflect the committed changes.
Closed by commit rL294377: [libFuzzer] Update test to consider different exceptions. (authored by mpividori).
Changed prior to commit:
https://reviews.llvm.org/D29531?vs=87291&id=87545#toc
Repository:
rL LLVM
https://reviews.llvm.org/D29531
Files:
llvm/trunk/lib/Fuzzer/test/fuzzer.test
llvm/trunk/lib/Fuzzer/test/value-profile-div.test
Index: llvm/trunk/lib/Fuzzer/test/value-profile-div.test
===================================================================
--- llvm/trunk/lib/Fuzzer/test/value-profile-div.test
+++ llvm/trunk/lib/Fuzzer/test/value-profile-div.test
@@ -1,3 +1,3 @@
-CHECK: AddressSanitizer: FPE
+CHECK: AddressSanitizer: {{FPE|int-divide-by-zero}}
RUN: not LLVMFuzzer-DivTest -seed=1 -use_value_profile=1 -runs=10000000 2>&1 | FileCheck %s
Index: llvm/trunk/lib/Fuzzer/test/fuzzer.test
===================================================================
--- llvm/trunk/lib/Fuzzer/test/fuzzer.test
+++ llvm/trunk/lib/Fuzzer/test/fuzzer.test
@@ -11,7 +11,7 @@
RUN: not LLVMFuzzer-NullDerefTest 2>&1 | FileCheck %s --check-prefix=NullDerefTest
RUN: not LLVMFuzzer-NullDerefTest -close_fd_mask=3 2>&1 | FileCheck %s --check-prefix=NullDerefTest
-NullDerefTest: ERROR: AddressSanitizer: SEGV on unknown address
+NullDerefTest: ERROR: AddressSanitizer: {{SEGV|access-violation}} on unknown address
NullDerefTest: Test unit written to ./crash-
RUN: not LLVMFuzzer-NullDerefTest -artifact_prefix=ZZZ 2>&1 | FileCheck %s --check-prefix=NullDerefTestPrefix
NullDerefTestPrefix: Test unit written to ZZZcrash-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D29531.87545.patch
Type: text/x-patch
Size: 1211 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170208/397928eb/attachment.bin>
More information about the llvm-commits
mailing list