http://llvm.org/bugs/show_bug.cgi?id=9687
Summary: many tests fail because MKS bash does not support "set
-o pipefail"
Product: Test Suite
Version: trunk
Platform: PC
OS/Version: Windows 2000
Status: NEW
Severity: normal
Priority: P
Component: lit
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected]
Created an attachment (id=6441)
--> (http://llvm.org/bugs/attachment.cgi?id=6441)
Patch to avoid using "set -o pipefail" when not supported
My platform is: Developer Studio 2008 (MSVC 9), CMake generating NMake
makefiles, MKS 9.
MKS provides unix-like command line tools, though many provide only very basic
compatibility.
When CMake configures the tree, all the test scripts begin with "set -o
pipefail".
Unfortunately MKS bash doesn't understand the pipefail option:
D:\llvmtrunk\llvm\utils>which bash
c:/mks/mksnt/bash.exe
D:\llvmtrunk\llvm\utils>bash -c "set -o pipefail"
set: Unknown option "pipefail"
I'm attaching a patch to work around this limitation.
Tested on:
- LLVM trunk Windows + Cmake + MKS + NMake makefiles
- LLVM 2.8 Linux (with recent GNU batsh)
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs