summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-11-28 11:49:49 +0000
committerThomas Wood <thomas.wood@intel.com>2014-12-04 16:07:55 +0000
commite4e18faffc21cceb1f45c6bbfad9f1ceacdccf05 (patch)
tree45ad088b22061538e2df2cf4def987bb56e565d7 /docs
parent7d2ab7083b46d30335cdb01006ae8af021578ea2 (diff)
docs: add subtest lists to test descriptions
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/reference/intel-gpu-tools/Makefile.am11
1 files changed, 10 insertions, 1 deletions
diff --git a/docs/reference/intel-gpu-tools/Makefile.am b/docs/reference/intel-gpu-tools/Makefile.am
index cd9c771a..d7ef4dfc 100644
--- a/docs/reference/intel-gpu-tools/Makefile.am
+++ b/docs/reference/intel-gpu-tools/Makefile.am
@@ -39,7 +39,16 @@ xml/igt_test_programs_%_description.xml: $(TESTLISTS)
testprog=$(top_srcdir)/tests/$$test; \
fi; \
./$$testprog --help-description >> $@; \
- echo "</para></refsect2>" >> $@; \
+ echo "</para>" >> $@; \
+ if ./$$testprog --list-subtests > /dev/null ; then \
+ echo "<refsect3><title>Subtests</title>" >> $@; \
+ echo "<simplelist>" >> $@; \
+ for subtest in `./$$testprog --list-subtests`; do \
+ echo "<member>$$subtest</member>" >> $@; \
+ done; \
+ echo "</simplelist></refsect3>" >> $@; \
+ fi; \
+ echo "</refsect2>" >> $@; \
done;
echo "</refsect1>" >> $@