summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/plist-macros.cpp
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/plist-macros.cpp
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/plist-macros.cpp')
-rw-r--r--clang/test/Analysis/plist-macros.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/plist-macros.cpp b/clang/test/Analysis/plist-macros.cpp
index 3eb604e2edd..94f8e514c8b 100644
--- a/clang/test/Analysis/plist-macros.cpp
+++ b/clang/test/Analysis/plist-macros.cpp
@@ -1,6 +1,6 @@
// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix -verify %s
// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix -analyzer-output=plist-multi-file %s -o %t.plist
-// RUN: cat %t.plist | %diff_plist %S/Inputs/expected-plists/plist-macros.cpp.plist -
+// RUN: %normalize_plist <%t.plist | diff -ub %S/Inputs/expected-plists/plist-macros.cpp.plist -
typedef __typeof(sizeof(int)) size_t;
OpenPOWER on IntegriCloud