mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00
tests: Adjust stacking tests build check for 2.11 Beta 1 release
I configured the stacking test binary to only be built when libapparmor 2.11 is present. The versioning of the 2.11 Beta 1 release (2.10.95) causes that check to fail and the stacking tests to not be used. This patch adjusts the libapparmor version check to be aware of the 2.11 Beta 1 versioning. Signed-off-by: Tyler Hicks <tyhicks@canonical.com> Acked-by: Christian Boltz <apparmor@cboltz.de>
This commit is contained in:
parent
fa35aaa1c4
commit
7c142666db
1 changed files with 2 additions and 2 deletions
|
@ -167,13 +167,13 @@ ifdef USE_SYSTEM
|
|||
************************************************************************${nl})
|
||||
endif
|
||||
|
||||
ifneq (,$(shell pkg-config --atleast-version 2.11 libapparmor && echo TRUE))
|
||||
ifneq (,$(shell pkg-config --atleast-version 2.10.95 libapparmor && echo TRUE))
|
||||
SRC+=stacking.c
|
||||
CONDITIONAL_TESTS+=exec_stack stackonexec stackprofile
|
||||
else
|
||||
$(warning ${nl}\
|
||||
************************************************************************${nl}\
|
||||
Skipping stacking tests: requires libapparmor 2.11 or newer ...${nl}\
|
||||
Skipping stacking tests: requires libapparmor 2.11 Beta 1 or newer ...${nl}\
|
||||
************************************************************************${nl})
|
||||
endif
|
||||
else
|
||||
|
|
Loading…
Add table
Reference in a new issue