[llvm-bugs] [Bug 33940] utils/lit/tests/shtest-shell.py fails on Windows

via llvm-bugs llvm-bugs at lists.llvm.org
Wed Jul 26 15:41:36 PDT 2017


Reid Kleckner <rnk at google.com> changed:

           What    |Removed                     |Added
         Resolution|FIXED                       |---
             Status|RESOLVED                    |REOPENED

--- Comment #4 from Reid Kleckner <rnk at google.com> ---
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"
# command stderr:
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.

You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20170726/e70f9319/attachment.html>

More information about the llvm-bugs mailing list