[all-commits] [llvm/llvm-project] f254bb: [lit] Try to fix c981c533055e test fails under win...

Joel E. Denny via All-commits all-commits at lists.llvm.org
Tue Aug 29 10:00:46 PDT 2023

  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f254bbf23374190c88a2b1a5f163622fbec9a936
  Author: Joel E. Denny <jdenny.ornl at gmail.com>
  Date:   2023-08-29 (Tue, 29 Aug 2023)

  Changed paths:
    M llvm/utils/lit/tests/shtest-env.py
    M llvm/utils/lit/tests/shtest-not.py
    M llvm/utils/lit/tests/shtest-output-printing.py
    M llvm/utils/lit/tests/shtest-shell.py

  Log Message:
  [lit] Try to fix c981c533055e test fails under windows

Failures were seen at

All but one failure is due to different shell-quoting of file names
because they contain special characters under windows.  Generalize
associated FileCheck patterns.

`llvm/utils/lit/tests/shtest-output-printing.py` fails because the
exit code was 127 instead of the expected 1.  Unfortunately, this CI
config doesn't pass `-dump-input-filter=all` to FileCheck, so we
cannot see the rest of the lit execution trace.  For now, generalize
the FileCheck pattern to accept any non-zero exit code to get past
this error.

More information about the All-commits mailing list