From: Petri Latvala <petri.latvala@intel.com>
To: intel-gfx@lists.freedesktop.org
Subject: [PATCH i-g-t 5/5] igt_command_line.sh: Test subtest documentation flag handling
Date: Thu, 10 Aug 2017 13:26:51 +0300 [thread overview]
Message-ID: <1502360811-31640-6-git-send-email-petri.latvala@intel.com> (raw)
In-Reply-To: <1502360811-31640-1-git-send-email-petri.latvala@intel.com>
Signed-off-by: Petri Latvala <petri.latvala@intel.com>
---
tests/igt_command_line.sh | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)
diff --git a/tests/igt_command_line.sh b/tests/igt_command_line.sh
index 7f80fc8..b3a794c 100755
--- a/tests/igt_command_line.sh
+++ b/tests/igt_command_line.sh
@@ -102,7 +102,17 @@ for test in $TESTLIST; do
fi
fi
+ # check --document-all-subtests handling
+ echo " Checking subtest documentation..."
+ DOCS=`./$test --document-all-subtests`
+ RET=$?
+
+ if [ $RET -ne 0 -a $RET -ne 79 ]; then
+ fail $test
+ fi
+
# check invalid subtest handling
echo " Checking invalid subtest handling..."
- ./$test --run-subtest invalid-subtest > /dev/null 2>&1 && fail $test
+ ./$test --run-subtest invalid-subtest > /dev/null 2>&1 && fail "$test --run-subtest invalid"
+ ./$test --document-subtest invalid-subtest > /dev/null 2>&1 && fail "$test --document-subtest invalid"
done
--
2.9.3
_______________________________________________
Intel-gfx mailing list
Intel-gfx@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/intel-gfx
next prev parent reply other threads:[~2017-08-10 10:26 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-08-10 10:26 [PATCH i-g-t v4 0/5] Subtest documentation Petri Latvala
2017-08-10 10:26 ` [PATCH i-g-t 1/5] Add support for subtest-specific documentation Petri Latvala
2017-08-10 22:27 ` Belgaumkar, Vinay
2017-08-11 8:20 ` Daniel Vetter
2017-09-04 8:42 ` Szwichtenberg, Radoslaw
2017-09-04 8:54 ` Daniel Vetter
2017-08-10 10:26 ` [PATCH i-g-t 2/5] README: Describe the subtest documentation command line flags Petri Latvala
2017-08-10 22:59 ` Belgaumkar, Vinay
2017-08-10 10:26 ` [PATCH i-g-t 3/5] docs: Include subtest documentation Petri Latvala
2017-08-10 10:26 ` [PATCH i-g-t 4/5] testdisplay: Handle subtest documentation flags Petri Latvala
2017-08-10 23:08 ` Belgaumkar, Vinay
2017-08-10 10:26 ` Petri Latvala [this message]
2017-08-10 23:09 ` [PATCH i-g-t 5/5] igt_command_line.sh: Test subtest documentation flag handling Belgaumkar, Vinay
2017-08-10 10:54 ` ✓ Fi.CI.BAT: success for Subtest documentation (rev2) Patchwork
-- strict thread matches above, loose matches on Subject: below --
2017-08-10 8:44 [PATCH i-g-t v3 0/5] Subtest documentation Petri Latvala
2017-08-10 8:44 ` [PATCH i-g-t 5/5] igt_command_line.sh: Test subtest documentation flag handling Petri Latvala
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1502360811-31640-6-git-send-email-petri.latvala@intel.com \
--to=petri.latvala@intel.com \
--cc=intel-gfx@lists.freedesktop.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox