From db41b9cb4693b2ad976300baca7bb1c57b7ac0c7 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Tue, 22 Aug 2017 00:05:15 -0400 Subject: [PATCH] Docs: give examples on both Test Names and Test IDs The current example, on Test Names, where being given on the Test ID section. Let's move them closer to the Test Name section, and while at it, also give Test ID examples. Signed-off-by: Cleber Rosa --- docs/source/ReferenceGuide.rst | 21 ++++++++++++++------- 1 file changed, 14 insertions(+), 7 deletions(-) diff --git a/docs/source/ReferenceGuide.rst b/docs/source/ReferenceGuide.rst index 5d8a1230..9de8f363 100644 --- a/docs/source/ReferenceGuide.rst +++ b/docs/source/ReferenceGuide.rst @@ -66,6 +66,14 @@ By definition, a Test Name is a Test Reference, but the reciprocal is not necessarily true, as the latter can represent more than one test. +Examples of Test Names:: + + '/bin/true' + 'passtest.py:Passtest.test' + 'file:///tmp/passtest.py:Passtest.test' + 'multiple_tests.py:MultipleTests.test_hello' + 'type_specific.io-github-autotest-qemu.systemtap_tracing.qemu.qemu_free' + Variant IDs ----------- @@ -108,14 +116,13 @@ Syntax:: -[;] -Examples of test-names:: - - '/bin/true' - 'passtest.py:Passtest.test' - 'file:///tmp/passtest.py:Passtest.test' - 'multiple_tests.py:MultipleTests.test_hello' - 'type_specific.io-github-autotest-qemu.systemtap_tracing.qemu.qemu_free' +Example of Test IDs:: + '1-/bin/true' + '2-passtest.py:Passtest.test;quiet-' + '3-file:///tmp/passtest.py:Passtest.test' + '4-multiple_tests.py:MultipleTests.test_hello;maximum_debug-df2f' + '5-type_specific.io-github-autotest-qemu.systemtap_tracing.qemu.qemu_free' .. _test-types: -- GitLab