5 lines · python
1# cut off the first 9 lines to avoid absolute file paths in the output2# then keep only the next 10 lines to avoid test timing in the output3# RUN: %{lit} %{inputs}/escape-color/color.txt -a | tail -n +10 | head -n 10 > %t4# RUN: diff --strip-trailing-cr %{inputs}/escape-color/color-escaped.txt %t5