Skip to content
Snippets Groups Projects
Commit 78428bf1 authored by Arkadiusz Hiler's avatar Arkadiusz Hiler
Browse files

lib/igt_core: Add support for subtest descriptions


This patch adds igt_description() which attaches a description to the
following igt_subtest or igt_subtest_group block.

Descriptions are accessible via './test --describe[=pattern]'

Subtest description is its own igt_describe as well as igt_describes
of all the parenting igt_subtest_groups, starting from the outermost
scope.

Examples of code and produced outputs are included in
lib/test/igt_describe.c and as a documentation comment on igt_describe()
macro.

v2: address Simon's review

Cc: Simon Ser <simon.ser@intel.com>
Cc: Petri Latvala <petri.latvala@intel.com>
Signed-off-by: default avatarArkadiusz Hiler <arkadiusz.hiler@intel.com>
Acked-by: default avatarPetri Latvala <petri.latvala@intel.com>
Reviewed-by: default avatarSimon Ser <simon.ser@intel.com>
parent 33560874
No related branches found
No related tags found
Loading
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