Skip to content

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

@Harini0924

Description

@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

--

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

Files with failures in BOLT:

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

Files with failures in compiler-rt:

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

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions