mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-08 16:36:14 +00:00
docs: add subtest lists to test descriptions
Signed-off-by: Thomas Wood <thomas.wood@intel.com>
This commit is contained in:
parent
7d2ab7083b
commit
e4e18faffc
@ -39,7 +39,16 @@ xml/igt_test_programs_%_description.xml: $(TESTLISTS)
|
|||||||
testprog=$(top_srcdir)/tests/$$test; \
|
testprog=$(top_srcdir)/tests/$$test; \
|
||||||
fi; \
|
fi; \
|
||||||
./$$testprog --help-description >> $@; \
|
./$$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;
|
done;
|
||||||
echo "</refsect1>" >> $@
|
echo "</refsect1>" >> $@
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user