summaryrefslogtreecommitdiffstats
path: root/documentation/specifications_xml_suite.html
blob: 4c61d6f3290a0b4ccbe478451879cd82152ffa74 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<Title>Phoronix Test Suite - XML Suite Syntax</Title>
<link href="includes/pts-documentation.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="pts_doc_header"><div class="pts_doc_fixed"><a href="http://www.phoronix-test-suite.com/"><div id="pts_doc_logo"></div></a></div></div>
<div class="pts_doc_fixed">
<div class="pts_doc_notice"><div style="float: left"><a href="index.html">&lt;&lt; Documentation Home</a></div><div style="float: right;">PTS Suite Specification</div></div>
<div class="pts_doc_main">
<!-- PTS AREA -->
<h1>Phoronix Test Suite 1.0 Suite Specification</h1>
<p>This document describes the XML tags for writing a test suite.</p>
<h2>PhoronixTestSuite/SuiteInformation/</h2>
<p><strong>Tag:</strong> Title<br>
<strong>Location:</strong> PhoronixTestSuite/SuiteInformation/<br>
<strong>Internal Reference:</strong> P_SUITE_TITLE<br>
<strong>Required:</strong> Yes<br>
<strong>Description:</strong> The full string title of the suite.</p>
<p><strong>Tag:</strong> Version<br>
<strong>Location:</strong> PhoronixTestSuite/SuiteInformation/<br>
<strong>Internal Reference:</strong> P_SUITE_VERSION<br>
<strong>Required:</strong> Yes<br>
<strong>Description:</strong> The version of the test suite.<br>
<strong>Supported Values:</strong> ( Formatted: x.x.x )</p>
<p><strong>Tag:</strong> Description<br>
<strong>Location:</strong> PhoronixTestSuite/SuiteInformation/<br>
<strong>Internal Reference:</strong> P_SUITE_DESCRIPTION<br>
<strong>Required:</strong> Recommended<br>
<strong>Description:</strong> A short description of the test suite.</p>
<p><strong>Tag:</strong> TestType<br>
<strong>Location:</strong> PhoronixTestSuite/SuiteInformation/<br>
<strong>Internal Reference:</strong> P_SUITE_TYPE<br>
<strong>Required:</strong> Recommended<br>
<strong>Description:</strong> The hardware area of the system that this suite is designed to stress.<br>
<strong>Supported Values:</strong> System, Processor, Graphics, Disk, Memory, Motherboard</p>
<p><strong>Tag:</strong> PreRunMessage<br>
<strong>Location:</strong> PhoronixTestSuite/SuiteInformation/<br>
<strong>Internal Reference:</strong> P_SUITE_PRERUNMSG<br>
<strong>Required:</strong> No<br>
<strong>Description:</strong> If the user needs to be alerted about something dealing with this 
suite -- and just not to a specific test -- this tag can contain a string that will be shown to the user before the 
tests in the suite are executed.</p>
<p><strong>Tag:</strong> PostRunMessage<br>
<strong>Location:</strong> PhoronixTestSuite/SuiteInformation/<br>
<strong>Internal Reference:</strong> P_SUITE_POSTRUNMSG<br>
<strong>Required:</strong> No<br>
<strong>Description:</strong> If the user needs to be alerted about something dealing with this 
suite -- and just not to a specific test -- this tag can contain a string that will be shown to the user after the 
tests in the suite are executed.</p>
<h2>PhoronixTestSuite/RunTest/<br>
NOTE: Multiple instances of these tags are allowed for multiple tests in a suite</h2>
<p><strong>Tag:</strong> Test<br>
<strong>Location:</strong> PhoronixTestSuite/RunTest/<br>
<strong>Internal Reference:</strong> P_SUITE_TEST_NAME<br>
<strong>Required:</strong> Yes<br>
<strong>Description:</strong> The name (identifier) of the test to run.</p>
<p><strong>Tag:</strong> Arguments<br>
<strong>Location:</strong> PhoronixTestSuite/RunTest/<br>
<strong>Internal Reference:</strong> P_SUITE_TEST_ARGUMENTS<br>
<strong>Required:</strong> No<br>
<strong>Description:</strong> Only the default arguments are extracted from the test profile. All 
other arguments you wish to supply (as the end-user isn't prompted of any options 
when running a suite) should be supplied as a value in this tag.</p>
<p><strong>Tag:</strong> Description<br>
<strong>Location:</strong> PhoronixTestSuite/RunTest/<br>
<strong>Internal Reference:</strong> P_SUITE_TEST_DESCRIPTION<br>
<strong>Required:</strong> No<br>
<strong>Description:</strong> A short description describing this test and its options, which is 
displayed on the graph in the PTS Results Viewer.</p>
<p><strong>Tag:</strong> Mode<br>
<strong>Location:</strong> PhoronixTestSuite/RunTest/<br>
<strong>Internal Reference:</strong> P_SUITE_TEST_MODE<br>
<strong>Required:</strong> No<br>
<strong>Description:</strong> If this tag is set to BATCH, it will run the test mentioned in the <em>Test</em> tag in batch mode. If this tag is set to 
DEFAULTS, it will run the test mentioned in the <em>Test</em> tag in the defaults mode. The <em>Description</em> and <em>Arguments</em> tags are ignored when setting one of these modes. This tag doesn't affect the mode for other test runs within the specified suite.</p>
<!-- END OF PTS AREA -->
</div></div><div class="pts_doc_fixed"><div class="pts_doc_bottom"><div style="float: left;"><a href="http://www.phoronix-test-suite.com/">Phoronix-Test-Suite.com</a></div><div style="float: right;">Copyright &copy; 2008 by <a href="http://www.phoronixmedia.com/">Phoronix Media</a>.</div></div></div>
</body>
</html>