summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/conditional-path-notes.c
diff options
context:
space:
mode:
authorHubert Tong <hubert.reinterpretcast@gmail.com>2019-06-11 14:21:32 +0000
committerHubert Tong <hubert.reinterpretcast@gmail.com>2019-06-11 14:21:32 +0000
commit61c848d2549b5fa4e09776bb0a2d5306e001cb66 (patch)
tree62181b47e97da30ad26b1d00e4a3d5364b003a1d /clang/test/Analysis/conditional-path-notes.c
parentbe8d03a512a013f9b6aaec4074caa6e45e844dad (diff)
downloadbcm5719-llvm-61c848d2549b5fa4e09776bb0a2d5306e001cb66.tar.gz
bcm5719-llvm-61c848d2549b5fa4e09776bb0a2d5306e001cb66.zip
Reapply r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist"
Following r363007, which reverted r362998, r362996, and r362994, reapply with adjustments for the CRLF differences encountered with Windows. Namely, the `-b` option of `diff` is employed, and the `grep` patterns have `$` replaced with `[[:space:]]*$`. llvm-svn: 363069
Diffstat (limited to 'clang/test/Analysis/conditional-path-notes.c')
-rw-r--r--clang/test/Analysis/conditional-path-notes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/conditional-path-notes.c b/clang/test/Analysis/conditional-path-notes.c
index fb2dd9f2ca5..5ef81d81a0f 100644
--- a/clang/test/Analysis/conditional-path-notes.c
+++ b/clang/test/Analysis/conditional-path-notes.c
@@ -1,6 +1,6 @@
// RUN: %clang_analyze_cc1 %s -analyzer-checker=core.NullDereference -analyzer-output=text -verify
// RUN: %clang_analyze_cc1 %s -analyzer-checker=core.NullDereference -analyzer-output=plist -o %t
-// RUN: cat %t | %diff_plist %S/Inputs/expected-plists/conditional-path-notes.c.plist -
+// RUN: %normalize_plist <%t | diff -ub %S/Inputs/expected-plists/conditional-path-notes.c.plist -
void testCondOp(int *p) {
int *x = p ? p : p;
OpenPOWER on IntegriCloud