[llvm] r292740 - [libFuzzer] Consider both possible separators for tests.
Marcos Pividori via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 21 17:58:31 PST 2017
Author: mpividori
Date: Sat Jan 21 19:58:31 2017
New Revision: 292740
URL: http://llvm.org/viewvc/llvm-project?rev=292740&view=rev
Log:
[libFuzzer] Consider both possible separators for tests.
Differential Revision: https://reviews.llvm.org/D28636
Modified:
llvm/trunk/lib/Fuzzer/test/coverage.test
Modified: llvm/trunk/lib/Fuzzer/test/coverage.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/coverage.test?rev=292740&r1=292739&r2=292740&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/coverage.test (original)
+++ llvm/trunk/lib/Fuzzer/test/coverage.test Sat Jan 21 19:58:31 2017
@@ -3,7 +3,7 @@ CHECK-DAG: COVERED: {{.*}}in LLVMFuzzerT
CHECK-DAG: COVERED: {{.*}}in LLVMFuzzerTestOneInput {{.*}}NullDerefTest.cpp:14
CHECK-DAG: COVERED: {{.*}}in LLVMFuzzerTestOneInput {{.*}}NullDerefTest.cpp:16
CHECK-DAG: COVERED: {{.*}}in LLVMFuzzerTestOneInput {{.*}}NullDerefTest.cpp:19
-CHECK: COVERED_DIRS: {{.*}}lib/Fuzzer/test
+CHECK: COVERED_DIRS: {{.*}}lib{{[/\\]}}Fuzzer{{[/\\]}}test
RUN: not LLVMFuzzer-NullDerefTest -print_coverage=1 2>&1 | FileCheck %s
RUN: LLVMFuzzer-DSOTest -print_coverage=1 -runs=0 2>&1 | FileCheck %s --check-prefix=DSO
More information about the llvm-commits
mailing list