Description
lit’s internal shell cannot recognize and execute the $()
command substitution syntax, which is used in tests across clang and compiler-rt.
Example error message:
FAIL: Clang :: Driver/offload-packager.c (17 of 20640)
******************** TEST 'Clang :: Driver/offload-packager.c' FAILED ********************
Exit Code: 127
Command Output (stdout):
--
# RUN: at line 28
cd $(dirname "/usr/local/google/home/harinidonthula/llvm-project/build/tools/clang/test/Driver/Output/offload-packager.c.tmp") && /usr/local/google/home/harinidonthula/llvm-project/build/bin/clang-offload-packager /usr/local/google/home/harinidonthula/llvm-project/build/tools/clang/test/Driver/Output/offload-packager.c.tmp --image=kind=openmp
# executed command: cd '$(dirname' '/usr/local/google/home/harinidonthula/llvm-project/build/tools/clang/test/Driver/Output/offload-packager.c.tmp)'
# .---command stderr------------
# | 'cd' supports only one argument
# `-----------------------------
# error: command failed with exit status: 127
Files with failures:
- clang/test/Driver/offload-packager.c
- clang/test/Modules/reduced-bmi-size.cppm
- compiler-rt/test/hwasan/TestCases/hwasan_symbolize.cpp
- compiler-rt/test/msan/allocator_mapping.cpp