This website requires JavaScript.
Explore
Help
Sign In
RepoMirrors
/
libabigail
Watch
1
Star
0
Fork
0
You've already forked libabigail
mirror of
git://sourceware.org/git/libabigail.git
synced
2024-12-30 05:42:05 +00:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
ae3c88da13
libabigail
/
tests
/
data
/
test-core-diff
/
report5.txt
7 lines
55 B
Plaintext
Raw
Normal View
History
Unescape
Escape
Initial regression test facility for core diff algorithms * tests/data/test-core-diff/report0.txt: New test reference data. * tests/data/test-core-diff/report1.txt: Likewise. * tests/data/test-core-diff/report2.txt: Likewise. * tests/data/test-core-diff/report3.txt: Likewise. * tests/data/test-core-diff/report4.txt: Likewise. * tests/data/test-core-diff/report5.txt: Likewise. * tests/test-core-diff.cc: New regression test program. * tests/Makefile.am: Add these new files to the build system. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2013-10-03 00:05:53 +00:00
1 deletion:
Fix middle snake determination * include/abg-diff-utils.h (point::{operator!=,operator==}): New operators. (end_of_fr_d_path_in_k, end_of_frr_d_path_in_k_plus_delta): Allow the initial point (-1,-1) that is not a point addressing elements of the input sequences, but that is the starting point of the forward paths and the ending point of reverse paths in the "Linear Refinement" of the algorithm. (is_match_point, maybe_record_match_point) (find_snake_start_point): New functions. (find_last_snake_in_path): Remove this. It's not used anymore. (compute_middle_snake): Allow checking for overlapping paths even on points that are outside of the edit graph boundaries. Once the overlap is detected, if a non-empty snake has been seen already, report it as the middle snake. Otherwise, keep building the path until the end and report the last snake encountered as the middle snake. Add comments. (compute_diff): For the d == 1 case, fix the logic of the finding the non-diagonal edge. Fix typos. Add comments. (display_edit_script): Fix report glitches. * tests/data/test-core-diff/report3.txt: Update as per the report glitch above. * tests/data/test-core-diff/report4.txt: Likewise. * tests/data/test-core-diff/report5.txt: Likewise. * tests/data/test-core-diff/report6.txt: New reference report for a new test. * tests/test-core-diff.cc: Add a new test for negative delta. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2013-10-04 08:35:25 +00:00
happened at index: 1 (a)
Initial regression test facility for core diff algorithms * tests/data/test-core-diff/report0.txt: New test reference data. * tests/data/test-core-diff/report1.txt: Likewise. * tests/data/test-core-diff/report2.txt: Likewise. * tests/data/test-core-diff/report3.txt: Likewise. * tests/data/test-core-diff/report4.txt: Likewise. * tests/data/test-core-diff/report5.txt: Likewise. * tests/test-core-diff.cc: New regression test program. * tests/Makefile.am: Add these new files to the build system. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2013-10-03 00:05:53 +00:00
no insertion
Reference in New Issue
Copy Permalink