libabigail/tests
Dodji Seketeli 457f5cb202 configure,test-diff-pkg.cc: Handle symlinks presence in dist tarball
Since the commit below, there are tests that require symbolic links.

Unfortunately, the tar command used to construct tarballs copies the
target of a symbolic link (and thus doesn't keep the symlink) for the
purpose of greater portability, as some platforms don't support
symbolic links.

This patch uses a tar command that keeps the symlinks in place for the
tests introduced by the commit below to keep working.  On some
platforms however, symlinks are removed from the tarball no matter
what.  In those case, the test that needs symlinks is disabled.

Here is the commit in question:

    bad389f abipkgdiff: Avoid comparing binaries that are outside of the package

	* configure.ac: Use "tar -cf" instead of "tar -chf" to construct
	the tarball.  Detect if the presence of the symlink in the
	distribution and define the WITH_SYMLINKS_KEPT_IN_DIST
	preprocessor macro accordingly.
	* tests/test-diff-pkg.cc (in_out_specs): If symlinks are not
	present in the tarball then the test that requires symlinks is
	deactivated.  Also, fix the
	data/test-diff-pkg/symlink-dir-test1/dir1 test to make it point to
	the target of the symlinks directly, to avoid considering a binary
	twice, in cases where symlink targets are copied.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2023-09-20 13:07:30 +02:00
..
data dwarf-reader: Do not re-use typedefs in a scope 2023-09-07 15:23:39 +02:00
lib tests: Update Catch2 library to v2.13.9 2022-07-08 15:54:21 +02:00
.gitignore
Makefile.am Add support for BTF 2023-01-06 21:05:53 +01:00
mockfedabipkgdiff.in Handle several variants of Python 'imp', 'importlib' modules 2022-01-06 15:44:29 +01:00
print-diff-tree.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
runtestcanonicalizetypes.sh.in
runtestdefaultsupprs.py.in
runtestdefaultsupprspy3.sh.in
runtestfedabipkgdiff.py.in
runtestfedabipkgdiffpy3.sh.in
runtestslowselfcompare.sh.in
test-abicompat.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-abidiff-exit.cc abidiff: Add --{follow,list}-dependencies & add-binaries{1,2} support 2023-07-07 13:34:51 +02:00
test-abidiff.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-alt-dwarf-file.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-annotate.cc test-annotate: Don't emit architecture data 2022-09-20 08:58:09 +02:00
test-core-diff.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-cxx-compat.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-diff2.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-diff-dwarf-abixml.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-diff-dwarf.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-diff-filter.cc Bug 29811 - Better categorize harmless unknown array size changes 2023-01-01 18:21:56 +01:00
test-diff-pkg.cc configure,test-diff-pkg.cc: Handle symlinks presence in dist tarball 2023-09-20 13:07:30 +02:00
test-diff-suppr.cc suppression: Support offset_of_{first,last}_data_member_regexp offset selectors 2023-03-02 18:18:37 +01:00
test-dot.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-elf-helpers.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-ini.cc test-ini: Fix a typo 2023-04-27 10:41:30 +02:00
test-ir-walker.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-kmi-whitelist.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-lookup-syms.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-read-btf.cc Update the copyright notice for the BTF reader 2023-01-06 21:40:44 +01:00
test-read-common.cc Use the CTF reader by default when applicable 2022-11-28 16:52:33 +01:00
test-read-common.h Use the CTF reader by default when applicable 2022-11-28 16:52:33 +01:00
test-read-ctf.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-read-dwarf.cc Bug 29692 - Support binaries with empty symbol table 2023-03-22 15:32:10 +01:00
test-read-write.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-svg.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-symtab-reader.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-symtab.cc test-symtab: Update after support for empty symtabs 2023-03-24 14:31:15 +01:00
test-tools-utils.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-types-stability.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-utils.cc Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-utils.h Update copyright year for 2023 2023-01-01 18:19:30 +01:00
test-valgrind-suppressions.supp
update-test-output.py tests/update-test-output.py: Adapt to some broken test output 2023-04-25 15:50:25 +02:00