Skip to content

[llvm-lit] Unsupported |& redirection syntax in lit internal shell #102388

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

Closed
connieyzhu opened this issue Aug 7, 2024 · 1 comment · Fixed by #102402
Closed

[llvm-lit] Unsupported |& redirection syntax in lit internal shell #102388

connieyzhu opened this issue Aug 7, 2024 · 1 comment · Fixed by #102402

Comments

@connieyzhu
Copy link
Contributor

lit tests across bolt are failing with lit’s internal shell due to unsupported |& syntax.

Example error message:

UNRESOLVED: BOLT :: X86/linux-static-calls.s (229 of 453)
******************** TEST 'BOLT :: X86/linux-static-calls.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# shell parser error on RUN: at line 11: /usr/local/google/home/harinidonthula/llvm-project/build/bin/llvm-bolt /usr/local/google/home/harinidonthula/llvm-project/build/tools/bolt/test/X86/Output/linux-static-calls.s.tmp.exe --print-normalized -o /usr/local/google/home/harinidonthula/llvm-project/build/tools/bolt/test/X86/Output/linux-static-calls.s.tmp.out --keep-nops=0    --bolt-info=0 |& /usr/local/google/home/harinidonthula/llvm-project/build/bin/FileCheck /usr/local/google/home/harinidonthula/llvm-project/bolt/test/X86/linux-static-calls.s
@llvmbot
Copy link
Member

llvmbot commented Aug 7, 2024

@llvm/issue-subscribers-backend-x86

Author: Connie (connieyzhu)

lit tests across bolt are failing with lit’s internal shell due to unsupported `|&` syntax.

Example error message:

UNRESOLVED: BOLT :: X86/linux-static-calls.s (229 of 453)
******************** TEST 'BOLT :: X86/linux-static-calls.s' FAILED ********************
Exit Code: 1

Command Output (stdout):
--
# shell parser error on RUN: at line 11: /usr/local/google/home/harinidonthula/llvm-project/build/bin/llvm-bolt /usr/local/google/home/harinidonthula/llvm-project/build/tools/bolt/test/X86/Output/linux-static-calls.s.tmp.exe --print-normalized -o /usr/local/google/home/harinidonthula/llvm-project/build/tools/bolt/test/X86/Output/linux-static-calls.s.tmp.out --keep-nops=0    --bolt-info=0 |& /usr/local/google/home/harinidonthula/llvm-project/build/bin/FileCheck /usr/local/google/home/harinidonthula/llvm-project/bolt/test/X86/linux-static-calls.s

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants