]> git.ipfire.org Git - pakfire.git/commit - Makefile.am
tests: Create internal library for unit tests
authorMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Apr 2021 18:41:12 +0000 (18:41 +0000)
committerMichael Tremer <michael.tremer@ipfire.org>
Tue, 27 Apr 2021 18:41:12 +0000 (18:41 +0000)
commitad970155c181944e6af41e1345af1f8fae5ad5ec
tree9120870f5e901a824b7558f308a8a6a931bb6f97
parentc000e645a06367953a2be56abc33c3284ff73f07
tests: Create internal library for unit tests

Our shared library only exports very few symbols so that we can change
our internal ABI easily and presumably not many applications are going
to link against libpakfire anyways.

This makes it impossible to test any internal functions which are
inaccessible. This patch adds an internal library with all available
symbols which will be linked into the test binaries so that we can test
those functions without any acrobatics.

Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
Makefile.am