From patchwork Fri Nov 28 13:45:33 2014 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Thomas Wood X-Patchwork-Id: 5403641 Return-Path: X-Original-To: patchwork-intel-gfx@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.19.201]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 050569F1C5 for ; Fri, 28 Nov 2014 13:45:47 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 38EE620155 for ; Fri, 28 Nov 2014 13:45:47 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) by mail.kernel.org (Postfix) with ESMTP id 4C47B20115 for ; Fri, 28 Nov 2014 13:45:46 +0000 (UTC) Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id CE2166EE4F; Fri, 28 Nov 2014 05:45:45 -0800 (PST) X-Original-To: intel-gfx@lists.freedesktop.org Delivered-To: intel-gfx@lists.freedesktop.org Received: from mail-wg0-f53.google.com (mail-wg0-f53.google.com [74.125.82.53]) by gabe.freedesktop.org (Postfix) with ESMTP id 2EB366E370 for ; Fri, 28 Nov 2014 05:45:44 -0800 (PST) Received: by mail-wg0-f53.google.com with SMTP id l18so8882705wgh.40 for ; Fri, 28 Nov 2014 05:45:43 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=U9bPli3AT9uZkvPOZF8jPE1bxn2R+oUNFUvJAgGLGMw=; b=itUx6tWL7Zm/GzIi4Bz5H2G8BHWnJWNJIDYiSUYcOJ+6cCJAB5S+A5cv5IdavNatlH VJJ3MehW1iWrHhgdh3pEvqnALqAAWxp1kSRt9Vu8gKp/7Eb+yhg5uGIy9q/cQW67SY03 WJb+u/V5/d20wzLRVHqJHMg9BiXNgI6HYd+FvrqHz+CzBn+LmS9HDyEJO3tz/AMWZAfS Nvc7K7ZPMPmomaRATPyLj+gIpmrfweSydrqpqg1QMDwPE7Atw1ZIj0dOOQ1p9VUe5ZS1 ODHCqYngJROpRgYr/40NZPqS/UjfHDyqkbKPEATxqAF2J/JGVSS3MWZdasNRFeImY6Og fCuA== X-Gm-Message-State: ALoCoQnIhYIJu9AL5z2cp6MwIB7afV9to0C9zR23rvpnEU8qcrFGXecZ2bwRI/qC6BBmA86pQdUu X-Received: by 10.180.187.67 with SMTP id fq3mr59153143wic.37.1417182343556; Fri, 28 Nov 2014 05:45:43 -0800 (PST) Received: from pistachio.icx.intel.com ([83.217.123.106]) by mx.google.com with ESMTPSA id fo12sm29621243wic.19.2014.11.28.05.45.42 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 28 Nov 2014 05:45:42 -0800 (PST) From: Thomas Wood To: intel-gfx@lists.freedesktop.org Date: Fri, 28 Nov 2014 13:45:33 +0000 Message-Id: <1417182334-20027-5-git-send-email-thomas.wood@intel.com> X-Mailer: git-send-email 2.1.0 In-Reply-To: <1417182334-20027-1-git-send-email-thomas.wood@intel.com> References: <1417182334-20027-1-git-send-email-thomas.wood@intel.com> Subject: [Intel-gfx] [PATCH i-g-t 5/6] docs: treat the test description as cdata X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, T_RP_MATCHES_RCVD, UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP 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. --- docs/reference/intel-gpu-tools/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/reference/intel-gpu-tools/Makefile.am b/docs/reference/intel-gpu-tools/Makefile.am index 53a6224..898abc9 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 "" >> $@; \ echo "$$test" | perl -pe 's/(?<=_)$(KEYWORDS)(?=(_|\W))/<acronym>\1<\/acronym>/g' >> $@; \ - echo "" >> $@; \ + echo "> $@; \ if [ -x $(top_builddir)/tests/$$test ]; then \ testprog=$(top_builddir)/tests/$$test; \ else \ testprog=$(top_srcdir)/tests/$$test; \ fi; \ ./$$testprog --help-description >> $@; \ - echo "" >> $@; \ + echo "]]>" >> $@; \ if ./$$testprog --list-subtests > /dev/null ; then \ echo "Subtests" >> $@; \ echo "" >> $@; \