[llvm] r374792 - [llvm-profdata] Weaken "malformed-ptr-to-counter-array.test" to appease arm bots

Vedant Kumar via llvm-commits llvm-commits at lists.llvm.org
Mon Oct 14 10:20:22 PDT 2019


Author: vedantk
Date: Mon Oct 14 10:20:22 2019
New Revision: 374792

URL: http://llvm.org/viewvc/llvm-project?rev=374792&view=rev
Log:
[llvm-profdata] Weaken "malformed-ptr-to-counter-array.test" to appease arm bots

There are a number arm bots failing after r374617 landed, and I'm not
sure why. It looks a bit like the error message llvm-profdata is
expected to print to stderr isn't flushed.

Weaken the test in an attempt to appease the arm bots: if this doesn't
work, that means that llvm-profdata is actually *not failing*, and that
will be a clear indication that some logic error is actually happening.

http://lab.llvm.org:8011/builders/clang-cmake-armv7-global-isel/builds/5604/

Modified:
    llvm/trunk/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test

Modified: llvm/trunk/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test?rev=374792&r1=374791&r2=374792&view=diff
==============================================================================
--- llvm/trunk/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test (original)
+++ llvm/trunk/test/tools/llvm-profdata/malformed-ptr-to-counter-array.test Mon Oct 14 10:20:22 2019
@@ -45,6 +45,4 @@ RUN: printf '\101\0\0\0\0\0\0\0' >> %t.p
 
 RUN: printf '\3\0bar\0\0\0' >> %t.profraw
 
-RUN: not llvm-profdata merge -o /dev/null %t.profraw 2>&1 | FileCheck %s
-
-CHECK: Malformed instrumentation profile data
+RUN: not llvm-profdata merge -o /dev/null %t.profraw




More information about the llvm-commits mailing list