aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorHarini0924 <79345568+Harini0924@users.noreply.github.com>2024-08-26 12:02:16 -0700
committerGitHub <noreply@github.com>2024-08-26 12:02:16 -0700
commit2d37e48e2439f70ed394bcca5c065ca2c8f5ae94 (patch)
tree77895f7a80efba56870eea68fb2f78abce5852e7 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent89c27d6b07dd03a71e5692caa4e20ab14f948921 (diff)
downloadllvm-2d37e48e2439f70ed394bcca5c065ca2c8f5ae94.zip
llvm-2d37e48e2439f70ed394bcca5c065ca2c8f5ae94.tar.gz
llvm-2d37e48e2439f70ed394bcca5c065ca2c8f5ae94.tar.bz2
[compiler-rt][test] Add REQUIRES: shell in tests that use the `ulimit` command (#105339)
This patch adds the `REQUIRES: shell` directive to six test files that use the `ulimit` command, ensuring these tests are only run in environments where a full POSIX-compliant shell is available. The lit internal shell does not use or support the `ulimit` command, which causes failures when running tests with `LIT_USE_INTERNAL_SHELL=1 ninja check-compiler-rt` Specifically, one of the errors encountered is: ``` # RUN: at line 4 ulimit -s 1000 # executed command: ulimit -s 1000 # .---command stderr------------ # | 'ulimit': command not found # `----------------------------- # error: command failed with exit status: 127 ``` Since, the lit internal shell doesn't support `ulimit`, adding this requirement prevents these tests from failing in the lit internal shell, thereby improving the reliability of the test suite in environments where the full shell is not available. This change is relevant for [[RFC] Enabling the Lit Internal Shell by Default](https://discourse.llvm.org/t/rfc-enabling-the-lit-internal-shell-by-default/80179/3) fixes: #102398
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions