summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Wood <thomas.wood@intel.com>2014-11-28 11:37:33 +0000
committerThomas Wood <thomas.wood@intel.com>2014-12-04 16:07:55 +0000
commit029dee797965357dbcbe5a097731701e4d965d82 (patch)
treed045827b3331ad69ddbe0f1d1d25225d52a87fc9
parenta5425a101cd38941961c13f97b56aa0683f64f8e (diff)
docs: treat the test description as cdata
Enclose the test description in cdata tags since the test descriptions come from the tests themselves and may not be escaped for use in xml. Signed-off-by: Thomas Wood <thomas.wood@intel.com>
-rw-r--r--docs/reference/intel-gpu-tools/Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/reference/intel-gpu-tools/Makefile.am b/docs/reference/intel-gpu-tools/Makefile.am
index b40680bd..0a47764d 100644
--- a/docs/reference/intel-gpu-tools/Makefile.am
+++ b/docs/reference/intel-gpu-tools/Makefile.am
@@ -36,14 +36,14 @@ xml/igt_test_programs_%_description.xml: $(TESTLISTS)
for test in `cat $(TESTLISTS) | tr ' ' '\n' | grep "^$*" | sort`; do \
echo "<refsect2 id=\"$$test\"><title>" >> $@; \
echo "$$test" | perl -pe 's/(?<=_)$(KEYWORDS)(?=(_|\W))/<acronym>\1<\/acronym>/g' >> $@; \
- echo "</title><para>" >> $@; \
+ echo "</title><para><![CDATA[" >> $@; \
if [ -x $(top_builddir)/tests/$$test ]; then \
testprog=$(top_builddir)/tests/$$test; \
else \
testprog=$(top_srcdir)/tests/$$test; \
fi; \
./$$testprog --help-description >> $@; \
- echo "</para>" >> $@; \
+ echo "]]></para>" >> $@; \
if ./$$testprog --list-subtests > /dev/null ; then \
echo "<refsect3><title>Subtests</title>" >> $@; \
echo "<simplelist>" >> $@; \