<html>
<head>
<base href="https://bugs.llvm.org/">
</head>
<body><span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span> changed
<a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - utils/lit/tests/shtest-shell.py fails on Windows"
href="https://bugs.llvm.org/show_bug.cgi?id=33940">bug 33940</a>
<br>
<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>What</th>
<th>Removed</th>
<th>Added</th>
</tr>
<tr>
<td style="text-align:right;">Resolution</td>
<td>FIXED
</td>
<td>---
</td>
</tr>
<tr>
<td style="text-align:right;">Status</td>
<td>RESOLVED
</td>
<td>REOPENED
</td>
</tr></table>
<p>
<div>
<b><a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - utils/lit/tests/shtest-shell.py fails on Windows"
href="https://bugs.llvm.org/show_bug.cgi?id=33940#c4">Comment # 4</a>
on <a class="bz_bug_link
bz_status_REOPENED "
title="REOPENED - utils/lit/tests/shtest-shell.py fails on Windows"
href="https://bugs.llvm.org/show_bug.cgi?id=33940">bug 33940</a>
from <span class="vcard"><a class="email" href="mailto:rnk@google.com" title="Reid Kleckner <rnk@google.com>"> <span class="fn">Reid Kleckner</span></a>
</span></b>
<pre>The flaky failures seem to be around file redirects that look like this:
# RUN: echo "first-line" > %t1.out && echo "second-line" >> %t1.out
# RUN: FileCheck --check-prefix CHECK-AND < %t1.out %s
This affects both sequencing-0.txt and redirects.txt.
They have logs that look like this:
$ "echo" "first-line"
$ "echo" "second-line"
$ "FileCheck" "--check-prefix" "CHECK-AND"
"C:\src\llvm-project\llvm\utils\lit\tests\Inputs\shtest-shell\sequencing-0.txt"
# command stderr:
C:\src\llvm-project\llvm\utils\lit\tests\Inputs\shtest-shell\sequencing-0.txt:7:14:
error: expected string not found in input
# CHECK-AND: second-line
<stdin>:2:1: note: scanning from here
error: command failed with exit status: 1
There is some strange lack of synchronization here. The writes to %t1.out are
not observed when we open %t1.out for reading for input to FileCheck.</pre>
</div>
</p>
<hr>
<span>You are receiving this mail because:</span>
<ul>
<li>You are on the CC list for the bug.</li>
</ul>
</body>
</html>