From: Giuliano Procida <gprocida@google.com>
To: libabigail@sourceware.org
Cc: dodji@seketeli.org, kernel-team@android.com, gprocida@google.com,
maennich@google.com, Bogdan Graur <bgraur@google.com>
Subject: [PATCH] test-annotate.cc: ignore whitespace during diff
Date: Mon, 30 May 2022 08:55:01 +0100 [thread overview]
Message-ID: <20220530075501.725826-1-gprocida@google.com> (raw)
The LLVM C++ demangler is being updated to remove the extra space
delimiter added between consecutive template closings. This change
ensures tests pass with both old and new versions.
* tests/test-annotate.cc (main): Pass diff -w option.
Suggested-by: Bogdan Graur <bgraur@google.com>
Signed-off-by: Giuliano Procida <gprocida@google.com>
---
tests/test-annotate.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/test-annotate.cc b/tests/test-annotate.cc
index 174de483..750f5e88 100644
--- a/tests/test-annotate.cc
+++ b/tests/test-annotate.cc
@@ -173,7 +173,7 @@ main()
if (abidw_ok)
{
string diff_cmd =
- "diff -u " + ref_report_path + " " + out_report_path;
+ "diff -w -u " + ref_report_path + " " + out_report_path;
if (system(diff_cmd.c_str()))
is_ok &=false;
}
--
2.36.1.124.g0e6072fb45-goog
next reply other threads:[~2022-05-30 7:55 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-05-30 7:55 Giuliano Procida [this message]
2022-05-30 10:11 ` Dodji Seketeli
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20220530075501.725826-1-gprocida@google.com \
--to=gprocida@google.com \
--cc=bgraur@google.com \
--cc=dodji@seketeli.org \
--cc=kernel-team@android.com \
--cc=libabigail@sourceware.org \
--cc=maennich@google.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).