Skip to content
Snippets Groups Projects
Commit a7e542a7 authored by Simon McVittie's avatar Simon McVittie Committed by Sjoerd Simons
Browse files

run-aa-test: report the underlying tests and the log parsing separately

Before this change, if "normal" failed due to a bug in the underlying
tests and "malicious" failed due to an unmet expectation, the
machine-readable parts of our log would be

normal.expected: fail
malicious.expected: fail

and discovering the reasons would require reading logs. Now, we would
log that situation as:

normal.expected_underlying_tests: fail
normal.expected: pass
malicious.expected_underlying_tests: pass
malicious.expected: fail

and an appropriate developer can investigate in the right places; in
this case, the "normal" failure would require someone who knows
about whatever is under test, for example Tracker, while the
"malicious" failure would require someone who knows about AppArmor.

Differential Revision: https://phabricator.apertis.org/D277


Signed-off-by: default avatarSimon McVittie <simon.mcvittie@collabora.co.uk>
Reviewed-by: xclaesse
parent 74df7f33
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment