mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-12 03:26:57 +00:00
It appears that it's not possible to write a suppression specification like the below at the moment: [suppress_file] label = Libabigail can't handle libgfortran.so (https://sourceware.org/bugzilla/show_bug.cgi?id=23492) file_name_regexp = libgfortran\\.so.* This is because the ini parser won't accept the '=' character in the URL as a valid character for ini property values. So the entire [suppress_file] section is ignored by the suppression specification engine. This patch fixes that by making the equal character valid in property values. * src/abg-ini.cc (char_is_delimiter): Take a new include_equal flag to control is the equal character should be considered as a delimiter or not. (char_is_property_value_char): Accept the equal character as a valid property value character. * tests/Makefile.am: Build a new runtestini test from the new tests/test-ini.cc source file. * tests/data/Makefile.am: Add the two new test inputs below to source distribution. * tests/data/test-ini/test01-equal-in-property-string.{abignore, abignore.expected}: New test inputs. * tests/test-ini.cc: New test harness. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
.. | ||
data | ||
Makefile.am | ||
mockfedabipkgdiff.in | ||
print-diff-tree.cc | ||
runtestcanonicalizetypes.sh.in | ||
runtestdefaultsupprs.py.in | ||
runtestdefaultsupprspy3.sh.in | ||
runtestfedabipkgdiff.py.in | ||
runtestfedabipkgdiffpy3.sh.in | ||
test-abicompat.cc | ||
test-abidiff-exit.cc | ||
test-abidiff.cc | ||
test-alt-dwarf-file.cc | ||
test-annotate.cc | ||
test-core-diff.cc | ||
test-diff2.cc | ||
test-diff-dwarf-abixml.cc | ||
test-diff-dwarf.cc | ||
test-diff-filter.cc | ||
test-diff-pkg.cc | ||
test-diff-suppr.cc | ||
test-dot.cc | ||
test-ini.cc | ||
test-ir-walker.cc | ||
test-lookup-syms.cc | ||
test-read-dwarf.cc | ||
test-read-write.cc | ||
test-svg.cc | ||
test-types-stability.cc | ||
test-utils.cc | ||
test-utils.h | ||
test-valgrind-suppressions.supp | ||
test-write-read-archive.cc | ||
update-test-output.py |