llvm-project icon indicating copy to clipboard operation
llvm-project copied to clipboard

[llvm-lit] lit internal shell fail to execute parentheses syntax

Open Harini0924 opened this issue 2 years ago • 1 comments

lit’s internal shell cannot recognize and execute the () syntax, which is used in tests across BOLT and compiler-rt.

Error Displayed:

FAIL: BOLT :: X86/instrumentation-eh_frame_hdr.cpp (375 of 453)
******************** TEST 'BOLT :: X86/instrumentation-eh_frame_hdr.cpp' FAILED ********************
Exit Code: 127

Command Output (stdout):
--
# RUN: at line 9
(/usr/local/google/home/harinidonthula/llvm-project/build/bin/llvm-readelf -SW /usr/local/google/home/harinidonthula/llvm-project/build/tools/bolt/test/X86/Output/instrumentation-eh_frame_hdr.cpp.tmp.instr | grep -v bolt; /usr/local/google/home/harinidonthula/llvm-project/build/bin/llvm-readelf -lW /usr/local/google/home/harinidonthula/llvm-project/build/tools/bolt/test/X86/Output/instrumentation-eh_frame_hdr.cpp.tmp.instr |    grep LOAD | tail -n 1) | /usr/local/google/home/harinidonthula/llvm-project/build/bin/FileCheck /usr/local/google/home/harinidonthula/llvm-project/bolt/test/X86/instrumentation-eh_frame_hdr.cpp
# executed command: '(/usr/local/google/home/harinidonthula/llvm-project/build/bin/llvm-readelf' -SW /usr/local/google/home/harinidonthula/llvm-project/build/tools/bolt/test/X86/Output/instrumentation-eh_frame_hdr.cpp.tmp.instr
# .---command stderr------------
# | '(/usr/local/google/home/harinidonthula/llvm-project/build/bin/llvm-readelf': command not found
# `-----------------------------
# error: command failed with exit status: 127

--

********************

Files with failures in BOLT:

  • [x] bolt/test/X86/end-symbol.test
  • [x] bolt/test/X86/instrumentation-eh_frame_hdr.cpp

Files with failures in compiler-rt:

  • [x] compiler-rt/test/ubsan/TestCases/TypeCheck/vptr.cpp

Harini0924 avatar Aug 07 '24 23:08 Harini0924

@llvm/issue-subscribers-bolt

Author: None (Harini0924)

lit’s internal shell cannot recognize and execute the () syntax, which is used in tests across BOLT and compiler-rt.

Error Displayed:

FAIL: BOLT :: X86/instrumentation-eh_frame_hdr.cpp (375 of 453)
******************** TEST 'BOLT :: X86/instrumentation-eh_frame_hdr.cpp' FAILED ********************
Exit Code: 127

Command Output (stdout):
--
# RUN: at line 9
(/usr/local/google/home/harinidonthula/llvm-project/build/bin/llvm-readelf -SW /usr/local/google/home/harinidonthula/llvm-project/build/tools/bolt/test/X86/Output/instrumentation-eh_frame_hdr.cpp.tmp.instr | grep -v bolt; /usr/local/google/home/harinidonthula/llvm-project/build/bin/llvm-readelf -lW /usr/local/google/home/harinidonthula/llvm-project/build/tools/bolt/test/X86/Output/instrumentation-eh_frame_hdr.cpp.tmp.instr |    grep LOAD | tail -n 1) | /usr/local/google/home/harinidonthula/llvm-project/build/bin/FileCheck /usr/local/google/home/harinidonthula/llvm-project/bolt/test/X86/instrumentation-eh_frame_hdr.cpp
# executed command: '(/usr/local/google/home/harinidonthula/llvm-project/build/bin/llvm-readelf' -SW /usr/local/google/home/harinidonthula/llvm-project/build/tools/bolt/test/X86/Output/instrumentation-eh_frame_hdr.cpp.tmp.instr
# .---command stderr------------
# | '(/usr/local/google/home/harinidonthula/llvm-project/build/bin/llvm-readelf': command not found
# `-----------------------------
# error: command failed with exit status: 127

--

********************

llvmbot avatar Aug 07 '24 23:08 llvmbot