<div dir="ltr">Any progress on this? Test is still spamming the buildbots.</div><br><div class="gmail_quote"><div dir="ltr">On Tue, Nov 20, 2018 at 3:49 PM Marco Castelluccio via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div text="#000000" bgcolor="#FFFFFF">
<p>A recent change has made it flaky, calixte is working on fixing
it.</p>
<p>- Marco.<br>
</p>
<div class="m_-1196442139346422625moz-cite-prefix">Il 20/11/18 21:48, Vitaly Buka ha
scritto:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">ppc64
<div><a href="http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/10213" target="_blank">http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/10213</a><br>
</div>
<div><a href="http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/10267" target="_blank">http://lab.llvm.org:8011/builders/sanitizer-ppc64be-linux/builds/10267</a><br>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Tue, Nov 20, 2018 at 12:45 PM Vitaly Buka <<a href="mailto:vitalybuka@google.com" target="_blank">vitalybuka@google.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">The test is very flaky
<div>Red <a href="http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/17621" class="m_-1196442139346422625m_4598266145057156475cremed" target="_blank">http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/17621</a></div>
<div>4 green</div>
<div>then red again <a href="http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/17626" class="m_-1196442139346422625m_4598266145057156475cremed" target="_blank">http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux/builds/17626</a></div>
<div><br>
</div>
<div><a href="http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux?numbuilds=100" class="m_-1196442139346422625m_4598266145057156475cremed" target="_blank">http://lab.llvm.org:8011/builders/sanitizer-x86_64-linux?numbuilds=100</a><br>
</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Wed, Aug 1, 2018 at 2:11 AM Marco
Castelluccio via llvm-commits <<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author:
marco<br>
Date: Wed Aug 1 02:11:36 2018<br>
New Revision: 338500<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=338500&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=338500&view=rev</a><br>
Log:<br>
[gcov] Add test which uses fork<br>
<br>
Test for <a href="https://bugs.llvm.org/show_bug.cgi?id=38180" rel="noreferrer" target="_blank">https://bugs.llvm.org/show_bug.cgi?id=38180</a>.<br>
<br>
Added:<br>
compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c<br>
compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c.gcov<br>
compiler-rt/trunk/test/profile/Posix/<br>
compiler-rt/trunk/test/profile/Posix/instrprof-gcov-fork.test<br>
<br>
Added:
compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c?rev=338500&view=auto" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c?rev=338500&view=auto</a><br>
==============================================================================<br>
---
compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c
(added)<br>
+++
compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c
Wed Aug 1 02:11:36 2018<br>
@@ -0,0 +1,15 @@<br>
+#include <unistd.h><br>
+<br>
+void func1() {}<br>
+void func2() {}<br>
+<br>
+int main(void)<br>
+{<br>
+ func1();<br>
+<br>
+ fork();<br>
+<br>
+ func2();<br>
+<br>
+ return 0;<br>
+}<br>
<br>
Added:
compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c.gcov<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c.gcov?rev=338500&view=auto" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c.gcov?rev=338500&view=auto</a><br>
==============================================================================<br>
---
compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c.gcov
(added)<br>
+++
compiler-rt/trunk/test/profile/Inputs/instrprof-gcov-fork.c.gcov
Wed Aug 1 02:11:36 2018<br>
@@ -0,0 +1,23 @@<br>
+// CHECK: -:
0:Source:{{.*}}Inputs/instrprof-gcov-fork.c<br>
+// CHECK-NEXT: -:
0:Graph:instrprof-gcov-fork.gcno<br>
+// CHECK-NEXT: -:
0:Data:instrprof-gcov-fork.gcda<br>
+// CHECK-NEXT: -: 0:Runs:1<br>
+// CHECK-NEXT: -: 0:Programs:1<br>
+// CHECK-NEXT: -: 1:#include <unistd.h><br>
+// CHECK-NEXT: -: 2:<br>
+// CHECK-NEXT:function func1 called 1 returned 100%
blocks executed 100%<br>
+// CHECK-NEXT: 1: 3:void func1() {}<br>
+// CHECK-NEXT:function func2 called 2 returned 100%
blocks executed 100%<br>
+// CHECK-NEXT: 2: 4:void func2() {}<br>
+// CHECK-NEXT: -: 5:<br>
+// CHECK-NEXT:function main called 1 returned 100% blocks
executed 100%<br>
+// CHECK-NEXT: -: 6:int main(void)<br>
+// CHECK-NEXT: -: 7:{<br>
+// CHECK-NEXT: 1: 8: func1();<br>
+// CHECK-NEXT: -: 9:<br>
+// CHECK-NEXT: 1: 10: fork();<br>
+// CHECK-NEXT: -: 11:<br>
+// CHECK-NEXT: 2: 12: func2();<br>
+// CHECK-NEXT: -: 13:<br>
+// CHECK-NEXT: 2: 14: return 0;<br>
+// CHECK-NEXT: -: 15:}<br>
<br>
Added:
compiler-rt/trunk/test/profile/Posix/instrprof-gcov-fork.test<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Posix/instrprof-gcov-fork.test?rev=338500&view=auto" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/profile/Posix/instrprof-gcov-fork.test?rev=338500&view=auto</a><br>
==============================================================================<br>
---
compiler-rt/trunk/test/profile/Posix/instrprof-gcov-fork.test
(added)<br>
+++
compiler-rt/trunk/test/profile/Posix/instrprof-gcov-fork.test
Wed Aug 1 02:11:36 2018<br>
@@ -0,0 +1,12 @@<br>
+XFAIL: *<br>
+<br>
+RUN: mkdir -p %t.d<br>
+RUN: cd %t.d<br>
+<br>
+RUN: %clang --coverage -o %t
%S/../Inputs/instrprof-gcov-fork.c<br>
+RUN: test -f instrprof-gcov-fork.gcno<br>
+<br>
+RUN: rm -f instrprof-gcov-fork.gcda<br>
+RUN: %run %t<br>
+RUN: llvm-cov gcov -b -c instrprof-gcov-fork.gcda<br>
+RUN: FileCheck --match-full-lines --strict-whitespace
--input-file instrprof-gcov-fork.c.gcov
%S/../Inputs/instrprof-gcov-fork.c.gcov<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote>
</div>
</blockquote>
</div>
</blockquote>
</div>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>