0x1eaf added a comment. I've tried making an integration test in addition to the unit test, but I couldn't find a way to make lit ignore the crashed process exit status:
FAIL: Clangd :: crash.test (1049 of 1049) ******************** TEST 'Clangd :: crash.test' FAILED ******************** Script: -- : 'RUN: at line 2'; yes '[' | head -n 50000 | sh -c "clangd --input-style=delimited 2>&1 || true" -- Exit Code: 141 I've also tried using `not` to the same effect: # RUN: yes '[' | head -n 50000 | not clangd --input-style=delimited Is there some trick that I'm missing? Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D109506/new/ https://reviews.llvm.org/D109506 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits