|
@@ -3,41 +3,33 @@
|
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
|
|
<head>
|
|
<head>
|
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
|
|
|
-<meta name="generator" content="Docutils 0.4.1: http://docutils.sourceforge.net/" />
|
|
|
|
|
|
|
+<meta name="generator" content="Docutils 0.3.6: http://docutils.sourceforge.net/" />
|
|
|
<title>Running Boost Regression Tests</title>
|
|
<title>Running Boost Regression Tests</title>
|
|
|
<style type="text/css">
|
|
<style type="text/css">
|
|
|
|
|
|
|
|
/*
|
|
/*
|
|
|
:Author: David Goodger
|
|
:Author: David Goodger
|
|
|
:Contact: goodger@users.sourceforge.net
|
|
:Contact: goodger@users.sourceforge.net
|
|
|
-:Date: $Date$
|
|
|
|
|
-:Revision: $Revision$
|
|
|
|
|
-:Copyright: This stylesheet has been placed in the public domain.
|
|
|
|
|
|
|
+:date: $Date$
|
|
|
|
|
+:version: $Revision$
|
|
|
|
|
+:copyright: This stylesheet has been placed in the public domain.
|
|
|
|
|
|
|
|
Default cascading style sheet for the HTML output of Docutils.
|
|
Default cascading style sheet for the HTML output of Docutils.
|
|
|
-
|
|
|
|
|
-See http://docutils.sf.net/docs/howto/html-stylesheets.html for how to
|
|
|
|
|
-customize this style sheet.
|
|
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
-/* used to remove borders from tables and images */
|
|
|
|
|
-.borderless, table.borderless td, table.borderless th {
|
|
|
|
|
- border: 0 }
|
|
|
|
|
|
|
+body {
|
|
|
|
|
+ background-color: #fffff5;
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
-table.borderless td, table.borderless th {
|
|
|
|
|
- /* Override padding for "table.docutils td" with "! important".
|
|
|
|
|
- The right padding separates the table cells. */
|
|
|
|
|
- padding: 0 0.5em 0 0 ! important }
|
|
|
|
|
|
|
+h2 {
|
|
|
|
|
+ text-decoration: underline;
|
|
|
|
|
+}
|
|
|
|
|
|
|
|
.first {
|
|
.first {
|
|
|
- /* Override more specific margin styles with "! important". */
|
|
|
|
|
- margin-top: 0 ! important }
|
|
|
|
|
-
|
|
|
|
|
-.last, .with-subtitle {
|
|
|
|
|
- margin-bottom: 0 ! important }
|
|
|
|
|
|
|
+ margin-top: 0 }
|
|
|
|
|
|
|
|
-.hidden {
|
|
|
|
|
- display: none }
|
|
|
|
|
|
|
+.last {
|
|
|
|
|
+ margin-bottom: 0 }
|
|
|
|
|
|
|
|
a.toc-backref {
|
|
a.toc-backref {
|
|
|
text-decoration: none ;
|
|
text-decoration: none ;
|
|
@@ -46,14 +38,9 @@ a.toc-backref {
|
|
|
blockquote.epigraph {
|
|
blockquote.epigraph {
|
|
|
margin: 2em 5em ; }
|
|
margin: 2em 5em ; }
|
|
|
|
|
|
|
|
-dl.docutils dd {
|
|
|
|
|
|
|
+dd {
|
|
|
margin-bottom: 0.5em }
|
|
margin-bottom: 0.5em }
|
|
|
|
|
|
|
|
-/* Uncomment (and remove this text!) to get bold-faced definition list terms
|
|
|
|
|
-dl.docutils dt {
|
|
|
|
|
- font-weight: bold }
|
|
|
|
|
-*/
|
|
|
|
|
-
|
|
|
|
|
div.abstract {
|
|
div.abstract {
|
|
|
margin: 2em 5em }
|
|
margin: 2em 5em }
|
|
|
|
|
|
|
@@ -61,18 +48,12 @@ div.abstract p.topic-title {
|
|
|
font-weight: bold ;
|
|
font-weight: bold ;
|
|
|
text-align: center }
|
|
text-align: center }
|
|
|
|
|
|
|
|
-div.admonition, div.attention, div.caution, div.danger, div.error,
|
|
|
|
|
-div.hint, div.important, div.note, div.tip, div.warning {
|
|
|
|
|
|
|
+div.attention, div.caution, div.danger, div.error, div.hint,
|
|
|
|
|
+div.important, div.note, div.tip, div.warning, div.admonition {
|
|
|
margin: 2em ;
|
|
margin: 2em ;
|
|
|
border: medium outset ;
|
|
border: medium outset ;
|
|
|
padding: 1em }
|
|
padding: 1em }
|
|
|
|
|
|
|
|
-div.admonition p.admonition-title, div.hint p.admonition-title,
|
|
|
|
|
-div.important p.admonition-title, div.note p.admonition-title,
|
|
|
|
|
-div.tip p.admonition-title {
|
|
|
|
|
- font-weight: bold ;
|
|
|
|
|
- font-family: sans-serif }
|
|
|
|
|
-
|
|
|
|
|
div.attention p.admonition-title, div.caution p.admonition-title,
|
|
div.attention p.admonition-title, div.caution p.admonition-title,
|
|
|
div.danger p.admonition-title, div.error p.admonition-title,
|
|
div.danger p.admonition-title, div.error p.admonition-title,
|
|
|
div.warning p.admonition-title {
|
|
div.warning p.admonition-title {
|
|
@@ -80,14 +61,11 @@ div.warning p.admonition-title {
|
|
|
font-weight: bold ;
|
|
font-weight: bold ;
|
|
|
font-family: sans-serif }
|
|
font-family: sans-serif }
|
|
|
|
|
|
|
|
-/* Uncomment (and remove this text!) to get reduced vertical space in
|
|
|
|
|
- compound paragraphs.
|
|
|
|
|
-div.compound .compound-first, div.compound .compound-middle {
|
|
|
|
|
- margin-bottom: 0.5em }
|
|
|
|
|
-
|
|
|
|
|
-div.compound .compound-last, div.compound .compound-middle {
|
|
|
|
|
- margin-top: 0.5em }
|
|
|
|
|
-*/
|
|
|
|
|
|
|
+div.hint p.admonition-title, div.important p.admonition-title,
|
|
|
|
|
+div.note p.admonition-title, div.tip p.admonition-title,
|
|
|
|
|
+div.admonition p.admonition-title {
|
|
|
|
|
+ font-weight: bold ;
|
|
|
|
|
+ font-family: sans-serif }
|
|
|
|
|
|
|
|
div.dedication {
|
|
div.dedication {
|
|
|
margin: 2em 5em ;
|
|
margin: 2em 5em ;
|
|
@@ -99,27 +77,15 @@ div.dedication p.topic-title {
|
|
|
font-style: normal }
|
|
font-style: normal }
|
|
|
|
|
|
|
|
div.figure {
|
|
div.figure {
|
|
|
- margin-left: 2em ;
|
|
|
|
|
- margin-right: 2em }
|
|
|
|
|
|
|
+ margin-left: 2em }
|
|
|
|
|
|
|
|
div.footer, div.header {
|
|
div.footer, div.header {
|
|
|
- clear: both;
|
|
|
|
|
font-size: smaller }
|
|
font-size: smaller }
|
|
|
|
|
|
|
|
-div.line-block {
|
|
|
|
|
- display: block ;
|
|
|
|
|
- margin-top: 1em ;
|
|
|
|
|
- margin-bottom: 1em }
|
|
|
|
|
-
|
|
|
|
|
-div.line-block div.line-block {
|
|
|
|
|
- margin-top: 0 ;
|
|
|
|
|
- margin-bottom: 0 ;
|
|
|
|
|
- margin-left: 1.5em }
|
|
|
|
|
-
|
|
|
|
|
div.sidebar {
|
|
div.sidebar {
|
|
|
margin-left: 1em ;
|
|
margin-left: 1em ;
|
|
|
border: medium outset ;
|
|
border: medium outset ;
|
|
|
- padding: 1em ;
|
|
|
|
|
|
|
+ padding: 0em 1em ;
|
|
|
background-color: #ffffee ;
|
|
background-color: #ffffee ;
|
|
|
width: 40% ;
|
|
width: 40% ;
|
|
|
float: right ;
|
|
float: right ;
|
|
@@ -146,25 +112,15 @@ div.system-message p.system-message-title {
|
|
|
div.topic {
|
|
div.topic {
|
|
|
margin: 2em }
|
|
margin: 2em }
|
|
|
|
|
|
|
|
-h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
|
|
|
|
|
-h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
|
|
|
|
|
- margin-top: 0.4em }
|
|
|
|
|
-
|
|
|
|
|
h1.title {
|
|
h1.title {
|
|
|
text-align: center }
|
|
text-align: center }
|
|
|
|
|
|
|
|
h2.subtitle {
|
|
h2.subtitle {
|
|
|
text-align: center }
|
|
text-align: center }
|
|
|
|
|
|
|
|
-hr.docutils {
|
|
|
|
|
|
|
+hr {
|
|
|
width: 75% }
|
|
width: 75% }
|
|
|
|
|
|
|
|
-img.align-left {
|
|
|
|
|
- clear: left }
|
|
|
|
|
-
|
|
|
|
|
-img.align-right {
|
|
|
|
|
- clear: right }
|
|
|
|
|
-
|
|
|
|
|
ol.simple, ul.simple {
|
|
ol.simple, ul.simple {
|
|
|
margin-bottom: 1em }
|
|
margin-bottom: 1em }
|
|
|
|
|
|
|
@@ -221,6 +177,10 @@ pre.address {
|
|
|
font-family: serif ;
|
|
font-family: serif ;
|
|
|
font-size: 100% }
|
|
font-size: 100% }
|
|
|
|
|
|
|
|
|
|
+pre.line-block {
|
|
|
|
|
+ font-family: serif ;
|
|
|
|
|
+ font-size: 100% }
|
|
|
|
|
+
|
|
|
pre.literal-block, pre.doctest-block {
|
|
pre.literal-block, pre.doctest-block {
|
|
|
margin-left: 2em ;
|
|
margin-left: 2em ;
|
|
|
margin-right: 2em ;
|
|
margin-right: 2em ;
|
|
@@ -240,48 +200,44 @@ span.interpreted {
|
|
|
span.option {
|
|
span.option {
|
|
|
white-space: nowrap }
|
|
white-space: nowrap }
|
|
|
|
|
|
|
|
|
|
+span.option-argument {
|
|
|
|
|
+ font-style: italic }
|
|
|
|
|
+
|
|
|
span.pre {
|
|
span.pre {
|
|
|
white-space: pre }
|
|
white-space: pre }
|
|
|
|
|
|
|
|
span.problematic {
|
|
span.problematic {
|
|
|
color: red }
|
|
color: red }
|
|
|
|
|
|
|
|
-span.section-subtitle {
|
|
|
|
|
- /* font-size relative to parent (h1..h6 element) */
|
|
|
|
|
- font-size: 80% }
|
|
|
|
|
|
|
+table {
|
|
|
|
|
+ margin-top: 0.5em ;
|
|
|
|
|
+ margin-bottom: 0.5em }
|
|
|
|
|
|
|
|
table.citation {
|
|
table.citation {
|
|
|
- border-left: solid 1px gray;
|
|
|
|
|
- margin-left: 1px }
|
|
|
|
|
|
|
+ border-left: solid thin gray ;
|
|
|
|
|
+ padding-left: 0.5ex }
|
|
|
|
|
|
|
|
table.docinfo {
|
|
table.docinfo {
|
|
|
margin: 2em 4em }
|
|
margin: 2em 4em }
|
|
|
|
|
|
|
|
-table.docutils {
|
|
|
|
|
- margin-top: 0.5em ;
|
|
|
|
|
- margin-bottom: 0.5em }
|
|
|
|
|
-
|
|
|
|
|
table.footnote {
|
|
table.footnote {
|
|
|
- border-left: solid 1px black;
|
|
|
|
|
- margin-left: 1px }
|
|
|
|
|
|
|
+ border-left: solid thin black ;
|
|
|
|
|
+ padding-left: 0.5ex }
|
|
|
|
|
|
|
|
-table.docutils td, table.docutils th,
|
|
|
|
|
-table.docinfo td, table.docinfo th {
|
|
|
|
|
|
|
+td, th {
|
|
|
padding-left: 0.5em ;
|
|
padding-left: 0.5em ;
|
|
|
padding-right: 0.5em ;
|
|
padding-right: 0.5em ;
|
|
|
vertical-align: top }
|
|
vertical-align: top }
|
|
|
|
|
|
|
|
-table.docutils th.field-name, table.docinfo th.docinfo-name {
|
|
|
|
|
|
|
+th.docinfo-name, th.field-name {
|
|
|
font-weight: bold ;
|
|
font-weight: bold ;
|
|
|
text-align: left ;
|
|
text-align: left ;
|
|
|
- white-space: nowrap ;
|
|
|
|
|
- padding-left: 0 }
|
|
|
|
|
|
|
+ white-space: nowrap }
|
|
|
|
|
|
|
|
-h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
|
|
|
|
|
-h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
|
|
|
|
|
|
|
+h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
|
|
|
font-size: 100% }
|
|
font-size: 100% }
|
|
|
|
|
|
|
|
-tt.docutils {
|
|
|
|
|
|
|
+tt {
|
|
|
background-color: #eeeeee }
|
|
background-color: #eeeeee }
|
|
|
|
|
|
|
|
ul.auto-toc {
|
|
ul.auto-toc {
|
|
@@ -290,21 +246,21 @@ ul.auto-toc {
|
|
|
</style>
|
|
</style>
|
|
|
</head>
|
|
</head>
|
|
|
<body>
|
|
<body>
|
|
|
-<div class="document" id="running-boost-regression-tests">
|
|
|
|
|
<h1 class="title">Running Boost Regression Tests</h1>
|
|
<h1 class="title">Running Boost Regression Tests</h1>
|
|
|
-<div class="section">
|
|
|
|
|
-<h1><a id="requirements" name="requirements">Requirements</a></h1>
|
|
|
|
|
|
|
+<div class="document" id="running-boost-regression">
|
|
|
|
|
+<div class="section" id="requirements">
|
|
|
|
|
+<h1><a name="requirements">Requirements</a></h1>
|
|
|
<ul class="simple">
|
|
<ul class="simple">
|
|
|
<li>Python 2.3 or higher</li>
|
|
<li>Python 2.3 or higher</li>
|
|
|
<li>Some spare disk space (~5 Gb per each tested compiler)</li>
|
|
<li>Some spare disk space (~5 Gb per each tested compiler)</li>
|
|
|
</ul>
|
|
</ul>
|
|
|
<p>That's it! You don't even need a CVS client installed.</p>
|
|
<p>That's it! You don't even need a CVS client installed.</p>
|
|
|
</div>
|
|
</div>
|
|
|
-<div class="section">
|
|
|
|
|
-<h1><a id="installation" name="installation">Installation</a></h1>
|
|
|
|
|
|
|
+<div class="section" id="installation">
|
|
|
|
|
+<h1><a name="installation">Installation</a></h1>
|
|
|
<ul class="simple">
|
|
<ul class="simple">
|
|
|
<li>Download regression driver <tt class="docutils literal"><span class="pre">regression.py</span></tt> from <a class="reference" href="http://boost.cvs.sourceforge.net/*checkout*/boost/boost/tools/regression/xsl_reports/runner/regression.py">here</a> (<a class="reference" href="http://tinyurl.com/uufav">http://tinyurl.com/uufav</a>)
|
|
<li>Download regression driver <tt class="docutils literal"><span class="pre">regression.py</span></tt> from <a class="reference" href="http://boost.cvs.sourceforge.net/*checkout*/boost/boost/tools/regression/xsl_reports/runner/regression.py">here</a> (<a class="reference" href="http://tinyurl.com/uufav">http://tinyurl.com/uufav</a>)
|
|
|
-and put it in the directory where you want all the regression
|
|
|
|
|
|
|
+and put it in the directory where you want all the regression
|
|
|
test files to be placed.</li>
|
|
test files to be placed.</li>
|
|
|
</ul>
|
|
</ul>
|
|
|
<ul>
|
|
<ul>
|
|
@@ -318,12 +274,12 @@ my_boost_regressions/
|
|
|
</li>
|
|
</li>
|
|
|
</ul>
|
|
</ul>
|
|
|
</div>
|
|
</div>
|
|
|
-<div class="section">
|
|
|
|
|
-<h1><a id="running-tests" name="running-tests">Running tests</a></h1>
|
|
|
|
|
|
|
+<div class="section" id="running-tests">
|
|
|
|
|
+<h1><a name="running-tests">Running tests</a></h1>
|
|
|
<p>To start a regression run, simply run <tt class="docutils literal"><span class="pre">regression.py</span></tt> providing it with the following
|
|
<p>To start a regression run, simply run <tt class="docutils literal"><span class="pre">regression.py</span></tt> providing it with the following
|
|
|
two arguments:</p>
|
|
two arguments:</p>
|
|
|
<ul class="simple">
|
|
<ul class="simple">
|
|
|
-<li>runner id (something unique of your choice that will identify your
|
|
|
|
|
|
|
+<li>runner id (something unique of your choice that will identify your
|
|
|
results in the reports <a class="footnote-reference" href="#runnerid1" id="id2" name="id2">[1]</a>, <a class="footnote-reference" href="#runnerid2" id="id3" name="id3">[2]</a>)</li>
|
|
results in the reports <a class="footnote-reference" href="#runnerid1" id="id2" name="id2">[1]</a>, <a class="footnote-reference" href="#runnerid2" id="id3" name="id3">[2]</a>)</li>
|
|
|
<li>a particular set of toolsets you want to test with <a class="footnote-reference" href="#toolsets" id="id4" name="id4">[3]</a>.</li>
|
|
<li>a particular set of toolsets you want to test with <a class="footnote-reference" href="#toolsets" id="id4" name="id4">[3]</a>.</li>
|
|
|
</ul>
|
|
</ul>
|
|
@@ -333,33 +289,33 @@ python regression.py --runner=Metacomm --toolsets=gcc,vc7
|
|
|
</pre>
|
|
</pre>
|
|
|
<p>If you are interested in seeing all available options, run <tt class="docutils literal"><span class="pre">python</span> <span class="pre">regression.py</span></tt>
|
|
<p>If you are interested in seeing all available options, run <tt class="docutils literal"><span class="pre">python</span> <span class="pre">regression.py</span></tt>
|
|
|
or <tt class="docutils literal"><span class="pre">python</span> <span class="pre">regression.py</span> <span class="pre">--help</span></tt>. See also the <a class="reference" href="#advanced-use">Advanced use</a> section below.</p>
|
|
or <tt class="docutils literal"><span class="pre">python</span> <span class="pre">regression.py</span> <span class="pre">--help</span></tt>. See also the <a class="reference" href="#advanced-use">Advanced use</a> section below.</p>
|
|
|
-<p><strong>Note</strong>: If you are behind a firewall/proxy server, everything should still "just work".
|
|
|
|
|
-In the rare cases when it doesn't, you can explicitly specify the proxy server
|
|
|
|
|
|
|
+<p><strong>Note</strong>: If you are behind a firewall/proxy server, everything should still "just work".
|
|
|
|
|
+In the rare cases when it doesn't, you can explicitly specify the proxy server
|
|
|
parameters through the <tt class="docutils literal"><span class="pre">--proxy</span></tt> option, e.g.:</p>
|
|
parameters through the <tt class="docutils literal"><span class="pre">--proxy</span></tt> option, e.g.:</p>
|
|
|
<pre class="literal-block">
|
|
<pre class="literal-block">
|
|
|
python regression.py ... <strong>--proxy=http://www.someproxy.com:3128</strong>
|
|
python regression.py ... <strong>--proxy=http://www.someproxy.com:3128</strong>
|
|
|
</pre>
|
|
</pre>
|
|
|
</div>
|
|
</div>
|
|
|
-<div class="section">
|
|
|
|
|
-<h1><a id="details" name="details">Details</a></h1>
|
|
|
|
|
|
|
+<div class="section" id="details">
|
|
|
|
|
+<h1><a name="details">Details</a></h1>
|
|
|
<p>The regression run procedure will:</p>
|
|
<p>The regression run procedure will:</p>
|
|
|
<ul class="simple">
|
|
<ul class="simple">
|
|
|
<li>Download the most recent tarball from <a class="reference" href="http://www.meta-comm.com/engineering/boost/snapshot/">http://www.meta-comm.com/engineering/boost/snapshot/</a>,
|
|
<li>Download the most recent tarball from <a class="reference" href="http://www.meta-comm.com/engineering/boost/snapshot/">http://www.meta-comm.com/engineering/boost/snapshot/</a>,
|
|
|
unpack it in the subdirectory <tt class="docutils literal"><span class="pre">boost</span></tt>.</li>
|
|
unpack it in the subdirectory <tt class="docutils literal"><span class="pre">boost</span></tt>.</li>
|
|
|
<li>Build <tt class="docutils literal"><span class="pre">bjam</span></tt> and <tt class="docutils literal"><span class="pre">process_jam_log</span></tt> if needed. (<tt class="docutils literal"><span class="pre">process_jam_log</span></tt> is an
|
|
<li>Build <tt class="docutils literal"><span class="pre">bjam</span></tt> and <tt class="docutils literal"><span class="pre">process_jam_log</span></tt> if needed. (<tt class="docutils literal"><span class="pre">process_jam_log</span></tt> is an
|
|
|
-utility, which extracts the test results from the log file produced by
|
|
|
|
|
|
|
+utility, which extracts the test results from the log file produced by
|
|
|
Boost.Build).</li>
|
|
Boost.Build).</li>
|
|
|
<li>Run regression tests, process and collect the results.</li>
|
|
<li>Run regression tests, process and collect the results.</li>
|
|
|
<li>Upload the results to <a class="reference" href="ftp://fx.meta-comm.com/boost-regression">ftp://fx.meta-comm.com/boost-regression</a>.</li>
|
|
<li>Upload the results to <a class="reference" href="ftp://fx.meta-comm.com/boost-regression">ftp://fx.meta-comm.com/boost-regression</a>.</li>
|
|
|
</ul>
|
|
</ul>
|
|
|
-<p>The report merger process running continuously on MetaCommunications site will
|
|
|
|
|
-merge all submitted test runs and publish them at
|
|
|
|
|
|
|
+<p>The report merger process running continuously on MetaCommunications site will
|
|
|
|
|
+merge all submitted test runs and publish them at
|
|
|
<a class="reference" href="http://boost.sourceforge.net/regression-logs/developer">http://boost.sourceforge.net/regression-logs/developer</a>.</p>
|
|
<a class="reference" href="http://boost.sourceforge.net/regression-logs/developer">http://boost.sourceforge.net/regression-logs/developer</a>.</p>
|
|
|
</div>
|
|
</div>
|
|
|
-<div class="section">
|
|
|
|
|
-<h1><a id="advanced-use" name="advanced-use">Advanced use</a></h1>
|
|
|
|
|
-<div class="section">
|
|
|
|
|
-<h2><a id="providing-detailed-information-about-your-environment" name="providing-detailed-information-about-your-environment">Providing detailed information about your environment</a></h2>
|
|
|
|
|
|
|
+<div class="section" id="advanced-use">
|
|
|
|
|
+<h1><a name="advanced-use">Advanced use</a></h1>
|
|
|
|
|
+<div class="section" id="providing-detailed">
|
|
|
|
|
+<h2><a name="providing-detailed">Providing detailed information about your environment</a></h2>
|
|
|
<p>Once you have your regression results displayed in the Boost-wide
|
|
<p>Once you have your regression results displayed in the Boost-wide
|
|
|
reports, you may consider providing a bit more information about
|
|
reports, you may consider providing a bit more information about
|
|
|
yourself and your test environment. This additional information will
|
|
yourself and your test environment. This additional information will
|
|
@@ -372,52 +328,52 @@ and test schedule, by simply altering the file's content. Also, please
|
|
|
consider providing your name and email address for cases where Boost
|
|
consider providing your name and email address for cases where Boost
|
|
|
developers have questions specific to your particular set of results.</p>
|
|
developers have questions specific to your particular set of results.</p>
|
|
|
</div>
|
|
</div>
|
|
|
-<div class="section">
|
|
|
|
|
-<h2><a id="incremental-runs" name="incremental-runs">Incremental runs</a></h2>
|
|
|
|
|
-<p>You can run <tt class="docutils literal"><span class="pre">regression.py</span></tt> in incremental mode <a class="footnote-reference" href="#incremental" id="id5" name="id5">[4]</a> by simply passing
|
|
|
|
|
|
|
+<div class="section" id="incremental-runs">
|
|
|
|
|
+<h2><a name="incremental-runs">Incremental runs</a></h2>
|
|
|
|
|
+<p>You can run <tt class="docutils literal"><span class="pre">regression.py</span></tt> in incremental mode <a class="footnote-reference" href="#incremental" id="id5" name="id5">[4]</a> by simply passing
|
|
|
it an identically named command-line flag:</p>
|
|
it an identically named command-line flag:</p>
|
|
|
<pre class="literal-block">
|
|
<pre class="literal-block">
|
|
|
python regression.py ... <strong>--incremental</strong>
|
|
python regression.py ... <strong>--incremental</strong>
|
|
|
</pre>
|
|
</pre>
|
|
|
</div>
|
|
</div>
|
|
|
-<div class="section">
|
|
|
|
|
-<h2><a id="dealing-with-misbehaved-tests-compilers" name="dealing-with-misbehaved-tests-compilers">Dealing with misbehaved tests/compilers</a></h2>
|
|
|
|
|
-<p>Depending on the environment/C++ runtime support library the test is compiled with,
|
|
|
|
|
|
|
+<div class="section" id="dealing-with-misbehaved">
|
|
|
|
|
+<h2><a name="dealing-with-misbehaved">Dealing with misbehaved tests/compilers</a></h2>
|
|
|
|
|
+<p>Depending on the environment/C++ runtime support library the test is compiled with,
|
|
|
a test failure/termination may cause an appearance of a dialog window, requiring
|
|
a test failure/termination may cause an appearance of a dialog window, requiring
|
|
|
human intervention to proceed. Moreover, the test (or even of the compiler itself)
|
|
human intervention to proceed. Moreover, the test (or even of the compiler itself)
|
|
|
-can fall into infinite loop, or simply run for too long. To allow <tt class="docutils literal"><span class="pre">regression.py</span></tt>
|
|
|
|
|
-to take care of these obstacles, add the <tt class="docutils literal"><span class="pre">--monitored</span></tt> flag to the script
|
|
|
|
|
|
|
+can fall into infinite loop, or simply run for too long. To allow <tt class="docutils literal"><span class="pre">regression.py</span></tt>
|
|
|
|
|
+to take care of these obstacles, add the <tt class="docutils literal"><span class="pre">--monitored</span></tt> flag to the script
|
|
|
invocation:</p>
|
|
invocation:</p>
|
|
|
<pre class="literal-block">
|
|
<pre class="literal-block">
|
|
|
python regression.py ... <strong>--monitored</strong>
|
|
python regression.py ... <strong>--monitored</strong>
|
|
|
</pre>
|
|
</pre>
|
|
|
-<p>That's it. Knowing your intentions, the script will be able to automatically deal
|
|
|
|
|
|
|
+<p>That's it. Knowing your intentions, the script will be able to automatically deal
|
|
|
with the listed issues <a class="footnote-reference" href="#monitored" id="id6" name="id6">[5]</a>.</p>
|
|
with the listed issues <a class="footnote-reference" href="#monitored" id="id6" name="id6">[5]</a>.</p>
|
|
|
</div>
|
|
</div>
|
|
|
-<div class="section">
|
|
|
|
|
-<h2><a id="getting-sources-from-cvs" name="getting-sources-from-cvs">Getting sources from CVS</a></h2>
|
|
|
|
|
|
|
+<div class="section" id="getting-sources-from-cvs">
|
|
|
|
|
+<h2><a name="getting-sources-from-cvs">Getting sources from CVS</a></h2>
|
|
|
<p>If you already have a CVS client installed and configured, you might prefer to get
|
|
<p>If you already have a CVS client installed and configured, you might prefer to get
|
|
|
-the sources directly from the Boost CVS repository. To communicate this to the
|
|
|
|
|
-script, you just need to pass it your SourceForge user ID using the <tt class="docutils literal"><span class="pre">--user</span></tt>
|
|
|
|
|
|
|
+the sources directly from the Boost CVS repository. To communicate this to the
|
|
|
|
|
+script, you just need to pass it your SourceForge user ID using the <tt class="docutils literal"><span class="pre">--user</span></tt>
|
|
|
option; for instance:</p>
|
|
option; for instance:</p>
|
|
|
<pre class="literal-block">
|
|
<pre class="literal-block">
|
|
|
python regression.py ... <strong>--user=agurtovoy</strong>
|
|
python regression.py ... <strong>--user=agurtovoy</strong>
|
|
|
</pre>
|
|
</pre>
|
|
|
-<p>You can also specify the user as <tt class="docutils literal"><span class="pre">anonymous</span></tt>, requesting anonymous CVS access.
|
|
|
|
|
-Note, though, that the files obtained this way tend to lag behind the actual CVS
|
|
|
|
|
-state by several hours, sometimes up to twelve. By contrast, the tarball the script
|
|
|
|
|
|
|
+<p>You can also specify the user as <tt class="docutils literal"><span class="pre">anonymous</span></tt>, requesting anonymous CVS access.
|
|
|
|
|
+Note, though, that the files obtained this way tend to lag behind the actual CVS
|
|
|
|
|
+state by several hours, sometimes up to twelve. By contrast, the tarball the script
|
|
|
downloads by default is at most one hour behind.</p>
|
|
downloads by default is at most one hour behind.</p>
|
|
|
</div>
|
|
</div>
|
|
|
-<div class="section">
|
|
|
|
|
-<h2><a id="integration-with-a-custom-driver-script" name="integration-with-a-custom-driver-script">Integration with a custom driver script</a></h2>
|
|
|
|
|
-<p>Even if you've already been using a custom driver script, and for some
|
|
|
|
|
-reason you don't want <tt class="docutils literal"><span class="pre">regression.py</span></tt> to take over of the entire test cycle,
|
|
|
|
|
|
|
+<div class="section" id="integration-with-a-custom">
|
|
|
|
|
+<h2><a name="integration-with-a-custom">Integration with a custom driver script</a></h2>
|
|
|
|
|
+<p>Even if you've already been using a custom driver script, and for some
|
|
|
|
|
+reason you don't want <tt class="docutils literal"><span class="pre">regression.py</span></tt> to take over of the entire test cycle,
|
|
|
getting your regression results into <a class="reference" href="http://www.boost.org/regression-logs/developer/">Boost-wide reports</a> is still easy!</p>
|
|
getting your regression results into <a class="reference" href="http://www.boost.org/regression-logs/developer/">Boost-wide reports</a> is still easy!</p>
|
|
|
-<p>In fact, it's just a matter of modifying your script to perform two straightforward
|
|
|
|
|
|
|
+<p>In fact, it's just a matter of modifying your script to perform two straightforward
|
|
|
operations:</p>
|
|
operations:</p>
|
|
|
<ol class="arabic">
|
|
<ol class="arabic">
|
|
|
<li><p class="first"><em>Timestamp file creation</em> needs to be done before the CVS update/checkout.
|
|
<li><p class="first"><em>Timestamp file creation</em> needs to be done before the CVS update/checkout.
|
|
|
-The file's location doesn't matter (nor does the content), as long as you know how
|
|
|
|
|
|
|
+The file's location doesn't matter (nor does the content), as long as you know how
|
|
|
to access it later. Making your script to do something as simple as
|
|
to access it later. Making your script to do something as simple as
|
|
|
<tt class="docutils literal"><span class="pre">echo</span> <span class="pre">>timestamp</span></tt> would work just fine.</p>
|
|
<tt class="docutils literal"><span class="pre">echo</span> <span class="pre">>timestamp</span></tt> would work just fine.</p>
|
|
|
</li>
|
|
</li>
|
|
@@ -430,14 +386,14 @@ arguments:</p>
|
|
|
<pre class="literal-block">
|
|
<pre class="literal-block">
|
|
|
--locate-root directory to to scan for "test_log.xml" files
|
|
--locate-root directory to to scan for "test_log.xml" files
|
|
|
--runner runner ID (e.g. "Metacomm")
|
|
--runner runner ID (e.g. "Metacomm")
|
|
|
---timestamp path to a file which modification time will be used
|
|
|
|
|
|
|
+--timestamp path to a file which modification time will be used
|
|
|
as a timestamp of the run ("timestamp" by default)
|
|
as a timestamp of the run ("timestamp" by default)
|
|
|
</pre>
|
|
</pre>
|
|
|
<p>For example, assuming that the run's resulting binaries are in the
|
|
<p>For example, assuming that the run's resulting binaries are in the
|
|
|
-<tt class="docutils literal"><span class="pre">$BOOST_ROOT/bin</span></tt> directory (the default Boost.Build setup), the
|
|
|
|
|
|
|
+<tt class="docutils literal"><span class="pre">$BOOST_ROOT/bin</span></tt> directory (the default Boost.Build setup), the
|
|
|
<tt class="docutils literal"><span class="pre">collect_and_upload_logs.py</span></tt> invocation might look like this:</p>
|
|
<tt class="docutils literal"><span class="pre">collect_and_upload_logs.py</span></tt> invocation might look like this:</p>
|
|
|
<pre class="literal-block">
|
|
<pre class="literal-block">
|
|
|
-python $BOOST_ROOT/tools/regression/xsl_reports/runner/collect_and_upload_logs.py
|
|
|
|
|
|
|
+python $BOOST_ROOT/tools/regression/xsl_reports/runner/collect_and_upload_logs.py
|
|
|
--locate-root=$BOOST_ROOT/bin
|
|
--locate-root=$BOOST_ROOT/bin
|
|
|
--runner=Metacomm
|
|
--runner=Metacomm
|
|
|
--timestamp=timestamp
|
|
--timestamp=timestamp
|
|
@@ -445,8 +401,8 @@ python $BOOST_ROOT/tools/regression/xsl_reports/runner/collect_and_upload_logs.p
|
|
|
</li>
|
|
</li>
|
|
|
</ol>
|
|
</ol>
|
|
|
</div>
|
|
</div>
|
|
|
-<div class="section">
|
|
|
|
|
-<h2><a id="patching-boost-sources" name="patching-boost-sources">Patching Boost sources</a></h2>
|
|
|
|
|
|
|
+<div class="section" id="patching-boost-sources">
|
|
|
|
|
+<h2><a name="patching-boost-sources">Patching Boost sources</a></h2>
|
|
|
<p>You might encounter an occasional need to make local modifications to
|
|
<p>You might encounter an occasional need to make local modifications to
|
|
|
the Boost codebase before running the tests, without disturbing the
|
|
the Boost codebase before running the tests, without disturbing the
|
|
|
automatic nature of the regression process. To implement this under
|
|
automatic nature of the regression process. To implement this under
|
|
@@ -461,18 +417,18 @@ script named <tt class="docutils literal"><span class="pre">patch_boost</span></
|
|
|
and, if found, execute it after obtaining the Boost sources.</p>
|
|
and, if found, execute it after obtaining the Boost sources.</p>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
-<div class="section">
|
|
|
|
|
-<h1><a id="feedback" name="feedback">Feedback</a></h1>
|
|
|
|
|
-<p>Please send all comments/suggestions regarding this document and the testing procedure
|
|
|
|
|
|
|
+<div class="section" id="feedback">
|
|
|
|
|
+<h1><a name="feedback">Feedback</a></h1>
|
|
|
|
|
+<p>Please send all comments/suggestions regarding this document and the testing procedure
|
|
|
itself to the <a class="reference" href="http://lists.boost.org/mailman/listinfo.cgi/boost-testing">Boost Testing list</a>.</p>
|
|
itself to the <a class="reference" href="http://lists.boost.org/mailman/listinfo.cgi/boost-testing">Boost Testing list</a>.</p>
|
|
|
</div>
|
|
</div>
|
|
|
-<div class="section">
|
|
|
|
|
-<h1><a id="notes" name="notes">Notes</a></h1>
|
|
|
|
|
|
|
+<div class="section" id="notes">
|
|
|
|
|
+<h1><a name="notes">Notes</a></h1>
|
|
|
<table class="docutils footnote" frame="void" id="runnerid1" rules="none">
|
|
<table class="docutils footnote" frame="void" id="runnerid1" rules="none">
|
|
|
<colgroup><col class="label" /><col /></colgroup>
|
|
<colgroup><col class="label" /><col /></colgroup>
|
|
|
<tbody valign="top">
|
|
<tbody valign="top">
|
|
|
-<tr><td class="label"><a class="fn-backref" href="#id2" name="runnerid1">[1]</a></td><td>If you are running regressions interlacingly with a different
|
|
|
|
|
-set of compilers (e.g. for Intel in the morning and GCC at the end of the day), you need
|
|
|
|
|
|
|
+<tr><td class="label"><a class="fn-backref" href="#id2" name="runnerid1">[1]</a></td><td>If you are running regressions interlacingly with a different
|
|
|
|
|
+set of compilers (e.g. for Intel in the morning and GCC at the end of the day), you need
|
|
|
to provide a <em>different</em> runner id for each of these runs, e.g. <tt class="docutils literal"><span class="pre">your_name-intel</span></tt>, and
|
|
to provide a <em>different</em> runner id for each of these runs, e.g. <tt class="docutils literal"><span class="pre">your_name-intel</span></tt>, and
|
|
|
<tt class="docutils literal"><span class="pre">your_name-gcc</span></tt>.</td></tr>
|
|
<tt class="docutils literal"><span class="pre">your_name-gcc</span></tt>.</td></tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
@@ -481,32 +437,32 @@ to provide a <em>different</em> runner id for each of these runs, e.g. <tt class
|
|
|
<colgroup><col class="label" /><col /></colgroup>
|
|
<colgroup><col class="label" /><col /></colgroup>
|
|
|
<tbody valign="top">
|
|
<tbody valign="top">
|
|
|
<tr><td class="label"><a class="fn-backref" href="#id3" name="runnerid2">[2]</a></td><td>The limitations of the reports' format/medium impose a direct dependency
|
|
<tr><td class="label"><a class="fn-backref" href="#id3" name="runnerid2">[2]</a></td><td>The limitations of the reports' format/medium impose a direct dependency
|
|
|
-between the number of compilers you are testing with and the amount of space available
|
|
|
|
|
-for your runner id. If you are running regressions for a single compiler, please make
|
|
|
|
|
|
|
+between the number of compilers you are testing with and the amount of space available
|
|
|
|
|
+for your runner id. If you are running regressions for a single compiler, please make
|
|
|
sure to choose a short enough id that does not significantly disturb the reports' layout.</td></tr>
|
|
sure to choose a short enough id that does not significantly disturb the reports' layout.</td></tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
|
<table class="docutils footnote" frame="void" id="toolsets" rules="none">
|
|
<table class="docutils footnote" frame="void" id="toolsets" rules="none">
|
|
|
<colgroup><col class="label" /><col /></colgroup>
|
|
<colgroup><col class="label" /><col /></colgroup>
|
|
|
<tbody valign="top">
|
|
<tbody valign="top">
|
|
|
-<tr><td class="label"><a class="fn-backref" href="#id4" name="toolsets">[3]</a></td><td>If <tt class="docutils literal"><span class="pre">--toolsets</span></tt> option is not provided, the script will try to use the
|
|
|
|
|
|
|
+<tr><td class="label"><a class="fn-backref" href="#id4" name="toolsets">[3]</a></td><td>If <tt class="docutils literal"><span class="pre">--toolsets</span></tt> option is not provided, the script will try to use the
|
|
|
platform's default toolset (<tt class="docutils literal"><span class="pre">gcc</span></tt> for most Unix-based systems).</td></tr>
|
|
platform's default toolset (<tt class="docutils literal"><span class="pre">gcc</span></tt> for most Unix-based systems).</td></tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
|
<table class="docutils footnote" frame="void" id="incremental" rules="none">
|
|
<table class="docutils footnote" frame="void" id="incremental" rules="none">
|
|
|
<colgroup><col class="label" /><col /></colgroup>
|
|
<colgroup><col class="label" /><col /></colgroup>
|
|
|
<tbody valign="top">
|
|
<tbody valign="top">
|
|
|
-<tr><td class="label"><a class="fn-backref" href="#id5" name="incremental">[4]</a></td><td><p class="first">By default, the script runs in what is known as <em>full mode</em>: on
|
|
|
|
|
-each <tt class="docutils literal"><span class="pre">regression.py</span></tt> invocation all the files that were left in place by the
|
|
|
|
|
-previous run -- including the binaries for the successfully built tests and libraries
|
|
|
|
|
--- are deleted, and everything is rebuilt once again from scratch. By contrast, in
|
|
|
|
|
-<em>incremental mode</em> the already existing binaries are left intact, and only the
|
|
|
|
|
-tests and libraries which source files has changed since the previous run are
|
|
|
|
|
|
|
+<tr><td class="label"><a class="fn-backref" href="#id5" name="incremental">[4]</a></td><td><p class="first">By default, the script runs in what is known as <em>full mode</em>: on
|
|
|
|
|
+each <tt class="docutils literal"><span class="pre">regression.py</span></tt> invocation all the files that were left in place by the
|
|
|
|
|
+previous run -- including the binaries for the successfully built tests and libraries
|
|
|
|
|
+-- are deleted, and everything is rebuilt once again from scratch. By contrast, in
|
|
|
|
|
+<em>incremental mode</em> the already existing binaries are left intact, and only the
|
|
|
|
|
+tests and libraries which source files has changed since the previous run are
|
|
|
re-built and re-tested.</p>
|
|
re-built and re-tested.</p>
|
|
|
-<p>The main advantage of incremental runs is a significantly shorter turnaround time,
|
|
|
|
|
|
|
+<p>The main advantage of incremental runs is a significantly shorter turnaround time,
|
|
|
but unfortunately they don't always produce reliable results. Some type of changes
|
|
but unfortunately they don't always produce reliable results. Some type of changes
|
|
|
to the codebase (changes to the bjam testing subsystem in particular)
|
|
to the codebase (changes to the bjam testing subsystem in particular)
|
|
|
-often require switching to a full mode for one cycle in order to produce
|
|
|
|
|
|
|
+often require switching to a full mode for one cycle in order to produce
|
|
|
trustworthy reports.</p>
|
|
trustworthy reports.</p>
|
|
|
<p class="last">As a general guideline, if you can afford it, testing in full mode is preferable.</p>
|
|
<p class="last">As a general guideline, if you can afford it, testing in full mode is preferable.</p>
|
|
|
</td></tr>
|
|
</td></tr>
|
|
@@ -515,11 +471,16 @@ trustworthy reports.</p>
|
|
|
<table class="docutils footnote" frame="void" id="monitored" rules="none">
|
|
<table class="docutils footnote" frame="void" id="monitored" rules="none">
|
|
|
<colgroup><col class="label" /><col /></colgroup>
|
|
<colgroup><col class="label" /><col /></colgroup>
|
|
|
<tbody valign="top">
|
|
<tbody valign="top">
|
|
|
-<tr><td class="label"><a class="fn-backref" href="#id6" name="monitored">[5]</a></td><td>Note that at the moment this functionality is available only if you
|
|
|
|
|
|
|
+<tr><td class="label"><a class="fn-backref" href="#id6" name="monitored">[5]</a></td><td>Note that at the moment this functionality is available only if you
|
|
|
are running on a Windows platform. Contributions are welcome!</td></tr>
|
|
are running on a Windows platform. Contributions are welcome!</td></tr>
|
|
|
</tbody>
|
|
</tbody>
|
|
|
</table>
|
|
</table>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
+<hr class="docutils footer" />
|
|
|
|
|
+<div class="footer">
|
|
|
|
|
+Generated on: 2007-02-20 10:21 UTC.
|
|
|
|
|
+Generated by <a class="reference" href="http://docutils.sourceforge.net/">Docutils</a> from <a class="reference" href="http://docutils.sourceforge.net/rst.html">reStructuredText</a> source.
|
|
|
|
|
+</div>
|
|
|
</body>
|
|
</body>
|
|
|
</html>
|
|
</html>
|