[llvm] r281580 - [libFuzzer] fix print_pcs test
Kostya Serebryany via llvm-commits
llvm-commits at lists.llvm.org
Wed Sep 14 21:43:06 PDT 2016
Author: kcc
Date: Wed Sep 14 23:43:06 2016
New Revision: 281580
URL: http://llvm.org/viewvc/llvm-project?rev=281580&view=rev
Log:
[libFuzzer] fix print_pcs test
Modified:
llvm/trunk/lib/Fuzzer/test/fuzzer-printcovpcs.test
Modified: llvm/trunk/lib/Fuzzer/test/fuzzer-printcovpcs.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Fuzzer/test/fuzzer-printcovpcs.test?rev=281580&r1=281579&r2=281580&view=diff
==============================================================================
--- llvm/trunk/lib/Fuzzer/test/fuzzer-printcovpcs.test (original)
+++ llvm/trunk/lib/Fuzzer/test/fuzzer-printcovpcs.test Wed Sep 14 23:43:06 2016
@@ -7,8 +7,8 @@ PCS:NEW_PC: {{0x[a-f0-9]+}}
PCS:NEW
PCS:BINGO
-RUN: LLVMFuzzer-CounterTest-TracePC -use_counters=0 -print_pcs=1 -runs=10000 2>&1 | FileCheck %s --check-prefix=C_PCS
-RUN: LLVMFuzzer-CounterTest-TracePC -use_counters=1 -print_pcs=1 -runs=10000 2>&1 | FileCheck %s --check-prefix=C_PCS
+RUN: LLVMFuzzer-CounterTest-TracePC -use_counters=0 -print_pcs=1 -runs=1000 2>&1 | FileCheck %s --check-prefix=C_PCS
+RUN: not LLVMFuzzer-CounterTest-TracePC -use_counters=1 -print_pcs=1 2>&1 | FileCheck %s --check-prefix=C_PCS
C_PCS: NEW_PC: {{.*}} in LLVMFuzzerTestOneInput {{.*}}CounterTest.cpp:11
C_PCS: NEW_PC: {{.*}} in LLVMFuzzerTestOneInput {{.*}}CounterTest.cpp:12
More information about the llvm-commits
mailing list