mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-19 16:30:04 +00:00
f275939df2
We are going to need to speed up more and more tests, and coding directly with libpthread for that can be tedious and bug-prone. So I devised an implementation for the worker threads design pattern instead, and used it to speed up some tests. * include/Makefile.am: Add the new abg-workers.h to source distribution. * include/abg-workers.h: New file. * src/Makefile.am: Add the new abg-worker.cc to source distribution. * src/abg-workers.cc: New file. * tests/test-utils.cc: Update copyright. Make get_src_dir() and get_build_dir() return a const char*, as opposed to returning a string. Make that const char reside in thread local storage, so that two concurrent threads can safely call these functions in parallel, without any race. * tests/test-utils.h: Make get_src_dir() and get_build_dir() return a const char*, as opposed to returning a string. * tests/test-abicompat.cc: Update copyright. Adjust for get_src_dir() and get_build_dir() change. * tests/test-abidiff.cc: Likewise. * tests/test-alt-dwarf-file.cc: Likewise. * tests/test-core-diff.cc: Likewise. * tests/test-diff-dwarf-abixml.cc: Likewise. * tests/test-diff-dwarf.cc: Likewise. * tests/test-diff-pkg.cc: Likewise. * tests/test-diff-suppr.cc: Likewise. * tests/test-lookup-syms.cc: Likewise. * tests/test-read-dwarf.cc: Likewise. * tests/test-read-write.cc: Likewise. * tests/test-types-stability.cc: Likewise. Use the new task queue type to run these tests in parallel. * tests/test-diff-filter.cc: Likewise. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
26 lines
434 B
Makefile
26 lines
434 B
Makefile
pkginclude_HEADERS = \
|
|
abg-sptr-utils.h \
|
|
abg-ir.h \
|
|
abg-corpus.h \
|
|
abg-reader.h \
|
|
abg-dwarf-reader.h \
|
|
abg-writer.h \
|
|
abg-comparison.h \
|
|
abg-comp-filter.h \
|
|
abg-diff-utils.h \
|
|
abg-libxml-utils.h \
|
|
abg-libzip-utils.h \
|
|
abg-fwd.h \
|
|
abg-hash.h \
|
|
abg-tools-utils.h \
|
|
abg-config.h \
|
|
abg-ini.h \
|
|
abg-workers.h \
|
|
abg-traverse.h \
|
|
abg-version.h \
|
|
abg-viz-common.h \
|
|
abg-viz-dot.h \
|
|
abg-viz-svg.h
|
|
|
|
EXTRA_DIST = abg-version.h.in
|