test-annotate.cc: ignore whitespace during diff
Commit Message
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(-)
Comments
Giuliano Procida <gprocida@google.com> a écrit:
> 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>
Applied to master, thanks!
[...]
Cheers,
@@ -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;
}