https://bugs.llvm.org/show_bug.cgi?id=33940

Reid Kleckner <r...@google.com> changed:

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

--- Comment #4 from Reid Kleckner <r...@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"
"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.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to