summaryrefslogtreecommitdiffstats
path: root/clang/test/Analysis/unix-fns.c
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2019-06-10 23:25:43 +0000
committerReid Kleckner <rnk@google.com>2019-06-10 23:25:43 +0000
commite7ea1834f467db618a8d8872d7eb9adc14ef5aac (patch)
treed329a7b182bc5082fa8bf634be1bf0f98887e29a /clang/test/Analysis/unix-fns.c
parent5062cf599ca2602f03c42404f3951449d24c5c8b (diff)
downloadbcm5719-llvm-e7ea1834f467db618a8d8872d7eb9adc14ef5aac.tar.gz
bcm5719-llvm-e7ea1834f467db618a8d8872d7eb9adc14ef5aac.zip
Revert r362994 & co "[analyzer][tests] Add normalize_plist to replace diff_plist"
Reverts r362998, r362996, and r362994 because the tests do not pass on Windows due to CRLF changes. Adding back `-w` to diff is not enough, the new grep substitution doesn't work on Windows, and fixing it is non-trivial. llvm-svn: 363007
Diffstat (limited to 'clang/test/Analysis/unix-fns.c')
-rw-r--r--clang/test/Analysis/unix-fns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/test/Analysis/unix-fns.c b/clang/test/Analysis/unix-fns.c
index 2f59dc6458d..96e5d1d4453 100644
--- a/clang/test/Analysis/unix-fns.c
+++ b/clang/test/Analysis/unix-fns.c
@@ -1,5 +1,5 @@
// RUN: %clang_analyze_cc1 -triple x86_64-apple-darwin10 -analyzer-checker=core,unix.API,osx.API,optin.portability %s -analyzer-store=region -analyzer-output=plist -analyzer-config faux-bodies=true -fblocks -verify -o %t.plist
-// RUN: %normalize_plist <%t.plist | diff -u %S/Inputs/expected-plists/unix-fns.c.plist -
+// RUN: cat %t.plist | %diff_plist %S/Inputs/expected-plists/unix-fns.c.plist -
// RUN: mkdir -p %t.dir
// RUN: %clang_analyze_cc1 -analyzer-checker=core,unix.API,osx.API,optin.portability -analyzer-output=html -analyzer-config faux-bodies=true -fblocks -o %t.dir %s
// RUN: rm -fR %t.dir
OpenPOWER on IntegriCloud