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: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected]
    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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to