aboutsummaryrefslogtreecommitdiff
path: root/llvm/utils/FileCheck/FileCheck.cpp
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2021-03-18 09:44:01 +0200
committerMartin Storsjö <martin@martin.st>2021-03-19 09:33:26 +0200
commitd09adfd3993cbc1043b4d20232bce8bd774232cc (patch)
tree4b00b074327907751c69d3d961dd22383da256b9 /llvm/utils/FileCheck/FileCheck.cpp
parenta1d6c652e3a0fba31377474af2436c9a9ceac6cc (diff)
downloadllvm-d09adfd3993cbc1043b4d20232bce8bd774232cc.zip
llvm-d09adfd3993cbc1043b4d20232bce8bd774232cc.tar.gz
llvm-d09adfd3993cbc1043b4d20232bce8bd774232cc.tar.bz2
[lit] Handle plain negations directly in the internal shell
Keep running "not --crash" via the external "not" executable, but for plain negations, and for cases that use the shell "!" operator, just skip that argument and invert the return code. The libcxx tests only use the shell operator "!" for negations, never the "not" executable, because libcxx tests can be run without having a fully built llvm tree available providing the "not" executable. This allows using the internal shell for libcxx tests. Differential Revision: https://reviews.llvm.org/D98859
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
0 files changed, 0 insertions, 0 deletions