[LLVMdev] lit test suite on Windows always hangs.

Saleem Abdulrasool abdulras at fb.com
Fri May 30 10:42:50 PDT 2014


On May 30, 2014, at 10:13 AM, Zachary Turner <zturner at google.com> wrote:

> 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?

I think that for tests that are dependent on grep, it might be nice to convert them to FileCheck in the longer run.  This might help make it possible to avoid the dependency on GNUWin32.

> _______________________________________________
> LLVM Developers mailing list
> LLVMdev at cs.uiuc.edu         https://urldefense.proofpoint.com/v1/url?u=http://llvm.cs.uiuc.edu/&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=CchYc4lrV44%2BZqxZADw0BQ%3D%3D%0A&m=w3oTPsFs763NF8ZxBN5qR66swKSiYcb%2BLwRme4XiqOU%3D%0A&s=28efa947f843d9eb605772bbe50db31b9b9e6d12c6a413c6e8940c30a323561d
> https://urldefense.proofpoint.com/v1/url?u=http://lists.cs.uiuc.edu/mailman/listinfo/llvmdev&k=ZVNjlDMF0FElm4dQtryO4A%3D%3D%0A&r=CchYc4lrV44%2BZqxZADw0BQ%3D%3D%0A&m=w3oTPsFs763NF8ZxBN5qR66swKSiYcb%2BLwRme4XiqOU%3D%0A&s=b9d11365bef6ede20767c126f8ca097685af474c3864aa14c0a21ef02e63743a

-- 
Saleem Abdulrasool
abdulras (at) fb (dot) com









More information about the llvm-dev mailing list