Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[llvm-lit] Unsupported redirect in compiler-rt test using lit internal shell #102385

Closed
connieyzhu opened this issue Aug 7, 2024 · 0 comments · Fixed by #98397
Closed

[llvm-lit] Unsupported redirect in compiler-rt test using lit internal shell #102385

connieyzhu opened this issue Aug 7, 2024 · 0 comments · Fixed by #98397
Labels

Comments

@connieyzhu
Copy link
Contributor

There is a typo in the following compiler-rt test that is an unsupported redirect in lit’s internal shell.

RUN: %clangxx_msan -DRIGHT_OK -std=c++11 -O0 -g %s -o %t && not %run %t 2<&1 | FileCheck %s

Error message:

FAIL: MemorySanitizer-X86_64 :: Linux/sigandorset.cpp (27 of 9570)
******************** TEST 'MemorySanitizer-X86_64 :: Linux/sigandorset.cpp' FAILED ********************
Exit Code: 127

Command Output (stdout):

# RUN: at line 3
/usr/local/google/home/harinidonthula/llvm-project/build/./bin/clang  --driver-mode=g++ -fsanitize=memory -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls  -m64 -fuse-ld=lld  -gline-tables-only -DRIGHT_OK -std=c++11 -O0 -g /usr/local/google/home/harinidonthula/llvm-project/compiler-rt/test/msan/Linux/sigandorset.cpp -o /usr/local/google/home/harinidonthula/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/lld-X86_64/Linux/Output/sigandorset.cpp.tmp && not  /usr/local/google/home/harinidonthula/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/lld-X86_64/Linux/Output/sigandorset.cpp.tmp 2<&1 | FileCheck /usr/local/google/home/harinidonthula/llvm-project/compiler-rt/test/msan/Linux/sigandorset.cpp
# executed command: /usr/local/google/home/harinidonthula/llvm-project/build/./bin/clang --driver-mode=g++ -fsanitize=memory -mno-omit-leaf-frame-pointer -fno-omit-frame-pointer -fno-optimize-sibling-calls -m64 -fuse-ld=lld -gline-tables-only -DRIGHT_OK -std=c++11 -O0 -g /usr/local/google/home/harinidonthula/llvm-project/compiler-rt/test/msan/Linux/sigandorset.cpp -o /usr/local/google/home/harinidonthula/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/lld-X86_64/Linux/Output/sigandorset.cpp.tmp
# executed command: not /usr/local/google/home/harinidonthula/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/msan/lld-X86_64/Linux/Output/sigandorset.cpp.tmp
# .---command stderr------------
# | Unsupported redirect: (('<&', 2), '1')
# `-----------------------------
# error: command failed with exit status: 127
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants