]> granicus.if.org Git - clang/commitdiff
Fix test on Windows.
authorDouglas Yung <douglas.yung@sony.com>
Sat, 3 Nov 2018 08:51:27 +0000 (08:51 +0000)
committerDouglas Yung <douglas.yung@sony.com>
Sat, 3 Nov 2018 08:51:27 +0000 (08:51 +0000)
This test checks the entire output of a help option, the problem
is that on Windows, the line break occurs in a different place
causing the CHECK to fail because it is not expecting a line break.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@346070 91177308-0d34-0410-b5e6-96231b3b80d8

test/Analysis/analyzer-list-configs.c

index 51de51e285cd1fd75d6adecefac2a0e1050ed91f..c9f6e55167fdc27e2a1a2a3a77f31e3e030f4b11 100644 (file)
@@ -23,7 +23,8 @@
 // CHECK:                   integers are signed, greater than or equal
 // CHECK:                   to the quarter of the minimum value of the
 // CHECK:                   type and less than or equal to the quarter
-// CHECK:                   of the maximum value of that type. A + n
+// CHECK:                   of the maximum value of that type. A
+// CHECK:                   + n
 // CHECK:                   <OP> B + m becomes A - B <OP> m - n, where
 // CHECK:                   A and B symbolic, n and m are integers.
 // CHECK:                   <OP> is any of '==', '!=', '<', '<=', '>',