mirror of
https://gitlab.com/apparmor/apparmor
synced 2025-08-29 13:28:19 +00:00
make simple.pl / parser make check output more useful
Instead of printing the (useless) numbers of no-longer-failing tests marked as TODO, let `prove` print out the actual test names. A side effect is that really unfixed TODOs and disabled tests get printed (lists about 10 tests), but that's much better than having to hunt down the no-longer-failing TODOs. This change will print out lines like (the first one is still a TODO, the second one got fixed at some time) ``` not ok 71447 - TODO: ./simple_tests//vars/vars_profile_name_13.sd: reference variables that are the profile name and attachment # TODO Unfixed testcase. ok 71448 - TODO: ./simple_tests//vars/vars_profile_name_14.sd: reference variables in rules that also have alternations # TODO Unfixed testcase. ``` before printing the test summary.
This commit is contained in:
parent
884041605c
commit
e9b25c4969
@ -6,7 +6,7 @@ PARSER_BIN=apparmor_parser
|
|||||||
PARSER=$(PARSER_DIR)/$(PARSER_BIN)
|
PARSER=$(PARSER_DIR)/$(PARSER_BIN)
|
||||||
# parser.conf to use in tests. Note that some test scripts have the parser options hardcoded, so passing PARSER_ARGS=... is not enough to override it.
|
# parser.conf to use in tests. Note that some test scripts have the parser options hardcoded, so passing PARSER_ARGS=... is not enough to override it.
|
||||||
PARSER_ARGS=--config-file=./parser.conf
|
PARSER_ARGS=--config-file=./parser.conf
|
||||||
PROVE_ARG=-f
|
PROVE_ARG=-f --directives
|
||||||
|
|
||||||
ifeq ($(VERBOSE),1)
|
ifeq ($(VERBOSE),1)
|
||||||
PROVE_ARG+=-v
|
PROVE_ARG+=-v
|
||||||
|
Loading…
x
Reference in New Issue
Block a user