r346070 - Fix test on Windows.

Douglas Yung via cfe-commits cfe-commits at lists.llvm.org
Sat Nov 3 01:51:27 PDT 2018


Author: dyung
Date: Sat Nov  3 01:51:27 2018
New Revision: 346070

URL: http://llvm.org/viewvc/llvm-project?rev=346070&view=rev
Log:
Fix test on Windows.

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.


Modified:
    cfe/trunk/test/Analysis/analyzer-list-configs.c

Modified: cfe/trunk/test/Analysis/analyzer-list-configs.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/Analysis/analyzer-list-configs.c?rev=346070&r1=346069&r2=346070&view=diff
==============================================================================
--- cfe/trunk/test/Analysis/analyzer-list-configs.c (original)
+++ cfe/trunk/test/Analysis/analyzer-list-configs.c Sat Nov  3 01:51:27 2018
@@ -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 '==', '!=', '<', '<=', '>',




More information about the cfe-commits mailing list