]> sourceware.org Git - libabigail.git/commitdiff
test-annotate.cc: ignore whitespace during diff
authorGiuliano Procida <gprocida@google.com>
Mon, 30 May 2022 07:55:01 +0000 (08:55 +0100)
committerDodji Seketeli <dodji@redhat.com>
Mon, 30 May 2022 10:10:26 +0000 (12:10 +0200)
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>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
tests/test-annotate.cc

index 174de4836bf5849ce7c04db7b0b44649db7bdae0..750f5e880b5769c4a2b6955674f745fd4be260ab 100644 (file)
@@ -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;
        }
This page took 0.032712 seconds and 5 git commands to generate.