2
0
mirror of https://github.com/boostorg/test.git synced 2026-02-02 21:22:10 +00:00
Files
test/doc/v2/html/boost_test/runtime_configuration.html
2014-04-28 14:53:43 +02:00

85 lines
5.1 KiB
HTML

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Runtime configuration</title>
<link rel="stylesheet" href="../../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.78.1">
<link rel="home" href="../index.html" title="Boost.Test">
<link rel="up" href="../index.html" title="Boost.Test">
<link rel="prev" href="test_output/test_output_progress.html" title="Progression display">
<link rel="next" href="runtime_configuration/running_specific_test_units_sele.html" title="Running specific test units selected by their name">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../boost.png"></td>
<td align="center"><a href="../../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
<td align="center"><a href="../../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="test_output/test_output_progress.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="runtime_configuration/running_specific_test_units_sele.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="boost_test.runtime_configuration"></a><a name="ref_section_runtime_configuration"></a><a class="link" href="runtime_configuration.html" title="Runtime configuration">Runtime
configuration</a>
</h2></div></div></div>
<div class="toc"><dl class="toc">
<dt><span class="section"><a href="runtime_configuration/running_specific_test_units_sele.html">Running
specific test units selected by their name</a></span></dt>
<dt><span class="section"><a href="runtime_configuration/runtime_parameters_summary.html">Runtime
parameters summary</a></span></dt>
</dl></div>
<p>
The <span class="emphasis"><em>UTF</em></span> supports multiple parameters that affect test
module execution. To set the parameter's value you can either use a runtime
configuration subsystem interface from within the test module initialization
function or you can specify the value at runtime during test module invocation.
</p>
<p>
The <span class="emphasis"><em>UTF</em></span> provides two ways to set a parameter at runtime:
by specifying a command line argument and by setting an environment variable.
The command line argument always overrides the corresponding environment variable.
</p>
<p>
During test module initialization the <span class="emphasis"><em>UTF</em></span> parses the command
line and excludes all parameters that belong to it and their values from the
argument list. The rest of command line is forwarded to the test module initialization
function supplied by you. The command line argument format expected by the
<span class="emphasis"><em>UTF</em></span> is:
</p>
<pre class="programlisting"> --&lt;command_line_argument_name&gt;=&lt;argument_value&gt;
</pre>
<p>
The command line argument name is case sensitive. It is required to match exactly
the name in parameter specification. There should not be any spaces between
'=' and either command line argument name or argument value.
</p>
<p>
The corresponding environment variable name is also case sensitive and is required
to exactly match the name in the parameter specification.
</p>
<p>
All information about supported parameters is summarized below in the reference
section.
</p>
</div>
<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
<td align="right"><div class="copyright-footer">Copyright &#169; 2001-2014 Gennadiy
Rozental<p>
Distributed under the Boost Software License, Version 1.0. (See accompanying
file LICENSE_1_0.txt or copy at <a href="http://www.boost.org/LICENSE_1_0.txt" target="_top">http://www.boost.org/LICENSE_1_0.txt</a>)
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="test_output/test_output_progress.html"><img src="../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="runtime_configuration/running_specific_test_units_sele.html"><img src="../../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>