[llvm] r294377 - [libFuzzer] Update test to consider different exceptions.
Marcos Pividori via llvm-commits
llvm-commits at lists.llvm.org
Tue Feb 7 16:02:26 PST 2017
Author: mpividori
Date: Tue Feb 7 18:02:25 2017
New Revision: 294377
URL: http://llvm.org/viewvc/llvm-project?rev=294377&view=rev
Log:
[libFuzzer] Update test to consider different exceptions.
Differential Revision: https://reviews.llvm.org/D29531
Modified:
llvm/trunk/lib/Fuzzer/test/fuzzer.test
llvm/trunk/lib/Fuzzer/test/value-profile-div.test
Modified: llvm/trunk/lib/Fuzzer/test/fuzzer.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/fuzzer.test?rev=294377&r1=294376&r2=294377&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/fuzzer.test (original)
+++ llvm/trunk/lib/Fuzzer/test/fuzzer.test Tue Feb 7 18:02:25 2017
@@ -11,7 +11,7 @@ MaxTotalTime: Done {{.*}} runs in {{.}}
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-
Modified: llvm/trunk/lib/Fuzzer/test/value-profile-div.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/value-profile-div.test?rev=294377&r1=294376&r2=294377&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/value-profile-div.test (original)
+++ llvm/trunk/lib/Fuzzer/test/value-profile-div.test Tue Feb 7 18:02:25 2017
@@ -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
More information about the llvm-commits
mailing list