• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<html>
2<head>
3<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
4<title>report_sink</title>
5<link rel="stylesheet" href="../../../boostbook.css" type="text/css">
6<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
7<link rel="home" href="../../../index.html" title="Boost.Test">
8<link rel="up" href="../rt_param_reference.html" title="Runtime parameters reference">
9<link rel="prev" href="report_memory_leaks_to.html" title="report_memory_leaks_to">
10<link rel="next" href="result_code.html" title="result_code">
11</head>
12<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
13<table cellpadding="2" width="100%"><tr>
14<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../../../boost.png"></td>
15<td align="center"><a href="../../../../../../../index.html">Home</a></td>
16<td align="center"><a href="../../../../../../../libs/libraries.htm">Libraries</a></td>
17<td align="center"><a href="http://www.boost.org/users/people.html">People</a></td>
18<td align="center"><a href="http://www.boost.org/users/faq.html">FAQ</a></td>
19<td align="center"><a href="../../../../../../../more/index.htm">More</a></td>
20</tr></table>
21<hr>
22<div class="spirit-nav">
23<a accesskey="p" href="report_memory_leaks_to.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../rt_param_reference.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="result_code.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
24</div>
25<div class="section">
26<div class="titlepage"><div><div><h4 class="title">
27<a name="boost_test.utf_reference.rt_param_reference.report_sink"></a><a class="link" href="report_sink.html" title="report_sink"><code class="computeroutput"><span class="identifier">report_sink</span></code></a>
28</h4></div></div></div>
29<p>
30          Parameter <span class="emphasis"><em>report_sink</em></span> allows to set the result report
31          sink - the location where the framework writes the result report to, thus
32          it allows to easily redirect the result report to a file or a standard
33          stream. By default the testing result report is directed to the standard
34          error stream.
35        </p>
36<h5>
37<a name="boost_test.utf_reference.rt_param_reference.report_sink.h0"></a>
38          <span class="phrase"><a name="boost_test.utf_reference.rt_param_reference.report_sink.acceptable_values"></a></span><a class="link" href="report_sink.html#boost_test.utf_reference.rt_param_reference.report_sink.acceptable_values">Acceptable
39          values</a>
40        </h5>
41<p>
42          Case sensitive <a class="link" href="../rt_param_reference.html#regular_param_value">string</a>:
43        </p>
44<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
45<li class="listitem">
46              <span class="bold"><strong><code class="computeroutput"><span class="identifier">stderr</span></code></strong></span>
47              (default)
48            </li>
49<li class="listitem">
50              <code class="computeroutput"><span class="identifier">stdout</span></code>
51            </li>
52<li class="listitem">
53              arbitrary file name
54            </li>
55</ul></div>
56<h5>
57<a name="boost_test.utf_reference.rt_param_reference.report_sink.h1"></a>
58          <span class="phrase"><a name="boost_test.utf_reference.rt_param_reference.report_sink.command_line_syntax"></a></span><a class="link" href="report_sink.html#boost_test.utf_reference.rt_param_reference.report_sink.command_line_syntax">Command
59          line syntax</a>
60        </h5>
61<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
62<li class="listitem">
63              <code class="computeroutput"><span class="special">--</span><span class="identifier">report_sink</span><span class="special">=&lt;</span><span class="identifier">stream</span>
64              <span class="keyword">or</span> <span class="identifier">file</span>
65              <span class="identifier">name</span><span class="special">&gt;</span></code>
66            </li>
67<li class="listitem">
68              <code class="computeroutput"><span class="special">-</span><span class="identifier">e</span>
69              <span class="special">&lt;</span><span class="identifier">stream</span>
70              <span class="keyword">or</span> <span class="identifier">file</span>
71              <span class="identifier">name</span><span class="special">&gt;</span></code>
72            </li>
73</ul></div>
74<h5>
75<a name="boost_test.utf_reference.rt_param_reference.report_sink.h2"></a>
76          <span class="phrase"><a name="boost_test.utf_reference.rt_param_reference.report_sink.environment_variable"></a></span><a class="link" href="report_sink.html#boost_test.utf_reference.rt_param_reference.report_sink.environment_variable">Environment
77          variable</a>
78        </h5>
79<pre class="programlisting"><span class="identifier">BOOST_TEST_REPORT_SINK</span>
80</pre>
81</div>
82<table xmlns:rev="http://www.cs.rpi.edu/~gregod/boost/tools/doc/revision" width="100%"><tr>
83<td align="left"></td>
84<td align="right"><div class="copyright-footer">Copyright © 2001-2020 Boost.Test contributors<p>
85        Distributed under the Boost Software License, Version 1.0. (See accompanying
86        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>)
87      </p>
88</div></td>
89</tr></table>
90<hr>
91<div class="spirit-nav">
92<a accesskey="p" href="report_memory_leaks_to.html"><img src="../../../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../rt_param_reference.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="result_code.html"><img src="../../../../../../../doc/src/images/next.png" alt="Next"></a>
93</div>
94</body>
95</html>
96