[LLVMdev] lit test suite on Windows always hangs.

Zachary Turner zturner at google.com
Fri May 30 10:13:51 PDT 2014


I'm using Windows 8.1, and every time I run check-clang, I eventually end
up with a bunch of hung processes.  Generally this is an instance of
clang.exe, a bunch of instances of FileCheck.exe, and occasionally an
llc.exe and an opt.exe.

Inside, the processes are all hung inside of calls to WriteFile()
attempting to write to stdout.

I notice some of the tests fail with output indicating that it expects a
unix-like environment.  For example:

207>  ********************
207>  FAIL: Clang :: CodeGen/2004-06-17-UnorderedCompares.c (1109 of 7263)
207>  ******************** TEST 'Clang ::
CodeGen/2004-06-17-UnorderedCompares.c' FAILED ********************
207>  Script:
207>  --
207>  D:/src/llvm/build/vs2013/Debug/bin/clang.EXE -cc1 -internal-isystem
D:\src\llvm\build\vs2013\Debug\bin\..\lib\clang\3.5.0\include  -std=c99
D:\src\llvm\tools\clang\test\CodeGen\2004-06-17-UnorderedCompares.c
-emit-llvm -o - | grep -v llvm.isunordered |
D:/src/llvm/build/vs2013/Debug/bin\not.EXE grep call
207>  --
207>  Exit Code: 127
207>
207>  Command Output (stdout):
207>  --
207>  Command 0: "grep" "-v" "llvm.isunordered"
207>  Command 0 Result: 127
207>  Command 0 Output:
207>
207>
207>  Command 0 Stderr:
207>  'grep': command not found
207>
207>
207>  --
207>
207>  ********************

Any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140530/87b92737/attachment.html>


More information about the llvm-dev mailing list