xref: /llvm-project/llvm/utils/lit/tests/escape-color.py (revision 828783177f71d95522763fba92ef1e42dc6101c7)
1# cut off the first 9 lines to avoid absolute file paths in the output
2# then keep only the next 10 lines to avoid test timing in the output
3# RUN: %{lit} %{inputs}/escape-color/color.txt -a | tail -n +10 | head -n 10 > %t
4# RUN: diff --strip-trailing-cr %{inputs}/escape-color/color-escaped.txt %t
5