mirror of
https://gitlab.com/apparmor/apparmor.git
synced 2025-03-04 08:24:42 +01:00

Instead of showing just the summary, display the actual test log as well. Signed-off-by: Zygmunt Krynicki <zygmunt.krynicki@canonical.com>
16 lines
537 B
YAML
16 lines
537 B
YAML
summary: Run apparmor_parser unit tests from parser/
|
|
details: |
|
|
The parser has a number of different tests. Those are all represented as
|
|
spread task variants so that they are directly visible and runnable.
|
|
environment:
|
|
TEST/tst_regex: 1
|
|
TEST/tst_misc: 1
|
|
TEST/tst_symtab: 1
|
|
TEST/tst_variable: 1
|
|
TEST/tst_lib: 1
|
|
prepare: |
|
|
# The test relies on make to build a binary.
|
|
make -C "$SPREAD_PATH"/parser -j"$(nproc)" "$SPREAD_VARIANT" VERBOSE=1
|
|
execute: |
|
|
cd "$SPREAD_PATH"/parser
|
|
./"$SPREAD_VARIANT"
|