[LLVMbugs] [Bug 15578] New: tests RUN commands assume Bourne shell

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat Mar 23 10:59:03 PDT 2013


http://llvm.org/bugs/show_bug.cgi?id=15578

            Bug ID: 15578
           Summary: tests RUN commands assume Bourne shell
           Product: Test Suite
           Version: trunk
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: lit
          Assignee: unassignedbugs at nondot.org
          Reporter: fang at csl.cornell.edu
                CC: daniel at zuster.org, llvmbugs at cs.uiuc.edu
    Classification: Unclassified

In clang's test suite, the following tests require bourne-shell:

Tooling/auto-detect-from-source-parent-of-cwd.cpp
Tooling/clang-check-pwd.cpp

I happen to be running in csh, so the PWD=... is mis-interpreted as a command,
which obviously fails.  (Prefixing those with 'env' fixes the test, but isn't
portable.  

Either make the test robust to user's environment or explicitly require that
the test-suite be run with a bourne-compatible shell.

I tried "pushd dir && cmd..." but that didn't work.

-- 
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/20130323/09203013/attachment.html>


More information about the llvm-bugs mailing list