mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-03 23:31:51 +00:00
be6bf58308
Default to the project's defautl - LGPLv3+ - for those. * Makefile.am: Add a LGPL-3.0-or-later SPDX header prefixed with '##' so that that the header doesn't get emitted in the resulting Makefile.in file. Note that the license of Makefile.in files is "FSF All Permissible License", which virtually compatible with anything. * bash-completion/Makefile.am: Likewise. * doc/Makefile.am: Likewise * doc/manuals/Makefile.am: Likewise * include/Makefile.am: Likewise * src/Makefile.am: Likewise * tests/Makefile.am: Likewise * tests/data/Makefile.am: Likewise * tools/Makefile.am: Likewise * .clang-format: Add a LGPL-3.0-or-later SPDX header. * bash-completion/abicompat: Likewise. * bash-completion/abidiff: Likewise. * bash-completion/abidw: Likewise. * bash-completion/abilint: Likewise. * bash-completion/abinilint: Likewise. * bash-completion/abipkgdiff: Likewise. * bash-completion/abisym: Likewise. * bash-completion/fedabipkgdiff: Likewise. * configure.ac: Likewise. * default.abignore: Likewise. * doc/api/libabigail.doxy: Likewise. * doc/website/libabigail-website.doxy: Likewise. * include/abg-version.h.in: Likewise. * scripts/dot_to_png.sh: Likewise. * scripts/dot_to_svg.sh: Likewise. * scripts/make-verbose.sh: Likewise. * scripts/svg_to_plain_svg.sh: Likewise. * scripts/svg_to_png_and_pdf.sh: Likewise. * tests/runtestcanonicalizetypes.sh.in: Likewise. * tests/runtestdefaultsupprs.py.in: Likewise. * tests/runtestdefaultsupprspy3.sh.in: Likewise. * tests/runtestfedabipkgdiffpy3.sh.in: Likewise. * tests/update-test-output.py: Likewise. * update-copyright.sh: Likewise. Signed-off-by: Benjamin De Kosnik <bkoz@gnu.org> Signed-off-by: Ben Woodard <woodard@redhat.com> Signed-off-by: Chenxiong Qi <cqi@redhat.com> Signed-off-by: Dodji Seketeli <dodji@redhat.com> Signed-off-by: Giuliano Procida <gprocida@google.com> Signed-off-by: Jan Engelhardt <jengelh@inai.de> Signed-off-by: Jessica Yu <jeyu@kernel.org> Signed-off-by: Jonathan Wakely <jwakely@redhat.com> Signed-off-by: Mark Wielaard <mark@klomp.org> Signed-off-by: Matthias Klose <doko@ubuntu.com> Signed-off-by: Matthias Maennich <maennich@google.com> Signed-off-by: Ondrej Oprala <ondrej.oprala@gmail.com> Signed-off-by: Roland McGrath <roland@hack.frob.com> Signed-off-by: Sinny Kumari <ksinny@gmail.com> Signed-off-by: Slava Barinov <v.barinov@samsung.com>
33 lines
904 B
Bash
33 lines
904 B
Bash
#!/bin/sh
|
|
# SPDX-License-Identifier: LGPL-3.0-or-later
|
|
|
|
# This program launches "abidiff $binary $binary" on multiple
|
|
# instances of $binary. The expect result is for the command to show
|
|
# an empty result. Otherwise, this program exits with an error and
|
|
# outputs some text about the binary on which abidiff failed.
|
|
|
|
abidiff=@top_builddir@/tools/abidiff
|
|
objdir=@top_builddir@/src/.libs
|
|
objext=@OBJEXT@
|
|
|
|
binaries="abg-tools-utils abg-hash abg-ini abg-writer"
|
|
outputfile=runtestcanonicalizetypes.output.txt
|
|
finaloutputfile=runtestcanonicalizetypes.output.final.txt
|
|
cat /dev/null > $outputfile
|
|
|
|
for i in $binaries;
|
|
do
|
|
obj=$objdir/$i.$objext
|
|
cmd="$abidiff --no-default-suppression $obj $obj"
|
|
`$cmd` > $outputfile
|
|
if test -s $outputfile; then
|
|
echo $cmd >> $finaloutputfile
|
|
cat $outputfile >> $finaloutputfile
|
|
fi
|
|
done
|
|
|
|
if test -s $finaloutputfile; then
|
|
cat $finaloutputfile
|
|
exit 1
|
|
fi
|