Skip to content

Commit

Permalink
Remove trailing CR in test-generated.ll.
Browse files Browse the repository at this point in the history
Add the option `strip-trailing-cr` to avoid CR/LF-related test failures.
The dialect files are created with LF, thus we don't want to see diff
mismatches in git environments which check out with CRLF.
  • Loading branch information
tsymalla-AMD committed Feb 1, 2024
1 parent bbb2893 commit 8640583
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/example/test-generated.test
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
; RUN: diff -U 5 %S/generated/ExampleDialect.h.inc test_build_dir/../example/ExampleDialect.h.inc
; RUN: diff -U 5 %S/generated/ExampleDialect.cpp.inc test_build_dir/../example/ExampleDialect.cpp.inc
; RUN: diff --strip-trailing-cr -U 5 %S/generated/ExampleDialect.h.inc test_build_dir/../example/ExampleDialect.h.inc
; RUN: diff --strip-trailing-cr -U 5 %S/generated/ExampleDialect.cpp.inc test_build_dir/../example/ExampleDialect.cpp.inc

0 comments on commit 8640583

Please sign in to comment.