Imported Upstream version 1.72.0
[platform/upstream/boost.git] / libs / filesystem / doc / issue_reporting.html
index 44b80b2..9f03d81 100644 (file)
     </td>
 </table>
 
-<p>Boost.Filesystem issues such as bug reports or feature requests should be 
-reported via a <a href="https://svn.boost.org/trac/boost/newticket">Boost Trac ticket</a>.</p>
-<p><a href="https://github.com/boostorg/filesystem/pulls">GitHub pull requests</a> 
-are encouraged, too, although anything beyond really trivial fixes needs a trac 
+<p>Boost.Filesystem issues such as bug reports or feature requests should be
+reported via a <a href="https://github.com/boostorg/filesystem/issues/new">GitHub ticket</a>.</p>
+<p><a href="https://github.com/boostorg/filesystem/pulls">GitHub pull requests</a>
+are encouraged, too, although anything beyond really trivial fixes needs a
 ticket.</p>
 <h3>Bug reports</h3>
-<p>A timely response to your bug report is much more likely if <b>the problem can 
-be immediately reproduced without  guesswork and regression tests can be easily 
+<p>A timely response to your bug report is much more likely if <b>the problem can
+be immediately reproduced without guesswork and regression tests can be easily
 created</b>. </p>
 <p>You need to provide the following:</p>
 <ol>
-  <li>A simple test program 
+  <li>A simple test program
 that:<ul>
     <li>Illustrates the problem, and</li>
-    <li>Automatically yields an unambiguous pass or fail result - returning zero 
+    <li>Automatically yields an unambiguous pass or fail result - returning zero
     for pass and non-zero for fail is preferred, and </li>
-    <li>Can be used as the basis for adding tests to Boost.Filesystem&#39;s 
+    <li>Can be used as the basis for adding tests to Boost.Filesystem&#39;s
     regression test suite.</li>
   </ul>
   </li>
-  <li>The compiler, standard library, platform, and Boost version you 
+  <li>The compiler, standard library, platform, and Boost version you
   used to build and run your test program.</li>
-  <li>A description of how to build and run the test program. 
+  <li>A description of how to build and run the test program.
   </li>
-  <li>A copy of the output from the test 
+  <li>A copy of the output from the test
   program, if any.</li>
   <li>An email address for follow-up questions.</li>
 </ol>
 <p>See <a href="#Rationale">Rationale</a> to find out why the above is needed.</p>
 <p>For a mostly automatic framework to provide the above, read on!</p>
 <h3>Bug reporting framework</h3>
-<p>The directory <code>&lt;boost-root&gt;/libs/filesystem/bug&gt;</code> provides a bug test program (<code><a href="#bug-cpp">bug.cpp</a></code>) 
+<p>The directory <code>&lt;boost-root&gt;/libs/filesystem/bug&gt;</code> provides a bug test program (<code><a href="#bug-cpp">bug.cpp</a></code>)
 and a build file (<code>Jamfile.v2</code>). Here is what you need to do:</p>
 <ol>
-  <li>Add one or more test cases to <code><a href="#bug-cpp">bug.cpp</a></code> 
+  <li>Add one or more test cases to <code><a href="#bug-cpp">bug.cpp</a></code>
   using any text or program editor.</li>
   <li><a href="#Build-and-test">Build and test</a>.</li>
-  <li>Attach copies of the <a href="#Test-output">Test output</a> and test 
-  program to the <a href="https://svn.boost.org/trac/boost/newticket">Trac 
+  <li>Attach copies of the <a href="#Test-output">Test output</a> and test
+  program to the <a href="https://svn.boost.org/trac/boost/newticket">Trac
   ticket</a>.</li>
 </ol>
 <p>That&#39;s it! When you complete those steps, you will be done!</p>
-<p>The test output supplies all of the basic information about the compiler, std 
-library, platform, Boost version, and command line, and the test cases you have 
+<p>The test output supplies all of the basic information about the compiler, std
+library, platform, Boost version, and command line, and the test cases you have
 added should make it easy for the library maintainer to reproduce the problem. </p>
 <h3>Using the framework</h3>
 <h4><a name="bug-cpp"><code>bug.cpp</code></a></h4>
 <p>Here is <code>bug.cpp</code> as supplied. To report a real bug, use
-<code>BOOST_TEST</code> and <code>BOOST_TEST_EQ</code> macros to build your own 
+<code>BOOST_TEST</code> and <code>BOOST_TEST_EQ</code> macros to build your own
 test cases. You can delete the three tests already in <code>bug.cpp</code>:</p>
 <blockquote>
   <pre>#include &lt;boost/detail/lightweight_test_report.hpp&gt;
@@ -140,85 +140,83 @@ bug.cpp(11): test '4 + 4 == 9' failed in function
   'int __cdecl test_main(int,char *[])': '8' != '9'
 2 errors detected.</pre>
 </blockquote>
-<p>The test framework runs <code>test_main()</code> from a <code>try</code> 
+<p>The test framework runs <code>test_main()</code> from a <code>try</code>
 block with a <code>catch</code> block that reports exceptions via <code>
-std::exception what()</code>. So the output will differ if an exception is 
+std::exception what()</code>. So the output will differ if an exception is
 thrown.</p>
 <h2>Background information</h2>
-<p>You should now have enough information to file an easy-to-reproduce bug 
-report. So you can skip reading the rest of this page unless you need to do 
+<p>You should now have enough information to file an easy-to-reproduce bug
+report. So you can skip reading the rest of this page unless you need to do
 something a bit out of the ordinary.</p>
 <h3><a name="b2-command-line-options"><code>b2</code> command line</a></h3>
-<p><code>b2</code> (formerly <code>bjam</code>) usage:&nbsp; <code>b2 
+<p><code>b2</code> (formerly <code>bjam</code>) usage:&nbsp; <code>b2
 [options] [properties] [target]</code></p>
-<p>Boost.Build b2 has many options, properties, and targets, but you will not 
+<p>Boost.Build b2 has many options, properties, and targets, but you will not
 need most of them for bug reporting. Here are a few you might find helpful:</p>
 <p><b>Options</b></p>
 <blockquote>
-  <p><code>-a</code>&nbsp;&nbsp;&nbsp; Rebuild everything rather than 
-  just out-of-date targets. Used in the example build above to ensure libraries 
+  <p><code>-a</code>&nbsp;&nbsp;&nbsp; Rebuild everything rather than
+  just out-of-date targets. Used in the example build above to ensure libraries
   are built with the same setup as the test program.</p>
 </blockquote>
 <p><b>Properties</b></p>
 <blockquote>
-  <p><code>address-model=<i>n&nbsp; n</i></code> is 32 or 64. 
-  Explicitly request either 32-bit or 64-bit code generation. This typically 
+  <p><code>address-model=<i>n&nbsp; n</i></code> is 32 or 64.
+  Explicitly request either 32-bit or 64-bit code generation. This typically
   requires that your compiler is appropriately configured.</p>
   <p><code>variant=</code><i>string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; string </i>is
   <code>debug</code> or <code>release</code>.</p>
-  <p><code>toolset=</code><i>string</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The C++ 
+  <p><code>toolset=</code><i>string</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; The C++
   compiler to use. For example, <code>gcc-4.9</code>, <code>clang-3.3</code>,
   <code>or msvc-14.0</code>.</p>
   <p><code>include=</code><i>string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </i>
   Additional include paths for C and C++ compilers.</p>
   <p><code>cxxflags=</code><i>string&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </i>
   Custom options to pass to the C++ compiler.</p>
-  <p><code>define=</code><i>string</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
-  Additional macro definitions for C and C++ compilers. <i>string</i> should be 
+  <p><code>define=</code><i>string</i>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
+  Additional macro definitions for C and C++ compilers. <i>string</i> should be
   either <code class="computeroutput">SYMBOL</code> or
   <code class="computeroutput">SYMBOL=VALUE</code></p>
 </blockquote>
 <h3><a name="Rationale">Rationale</a></h3>
 <p>Here is the request list again, with rationale added:</p>
 <ol>
-  <li>A simple test program 
+  <li>A simple test program
 that:<ul>
     <li dir="ltr">
-    <p dir="ltr">Illustrates the problem <b>[Code communicates more clearly than 
-    prose. If it looks like it will it will take some time to figure out exactly what the 
-    problem is, or worse yet, might result in a wild-goose chase, the bug report 
+    <p dir="ltr">Illustrates the problem <b>[Code communicates more clearly than
+    prose. If it looks like it will it will take some time to figure out exactly what the
+    problem is, or worse yet, might result in a wild-goose chase, the bug report
     gets set aside to be worked on later and then is often forgotten.] </b>and</li>
-    <li>Automatically yields an unambiguous pass or fail result - returning zero 
-    for pass and non-zero for fail is preferred <b>[Prevents 
+    <li>Automatically yields an unambiguous pass or fail result - returning zero
+    for pass and non-zero for fail is preferred <b>[Prevents
     miscommunications and allows use in automatic regression tests.]</b>, and </li>
-    <li>Can be used as the basis for adding tests to Boost.Filesystem&#39;s 
-    regression test suite <b>[With good test cases fixes come easier and 
+    <li>Can be used as the basis for adding tests to Boost.Filesystem&#39;s
+    regression test suite <b>[With good test cases fixes come easier and
     regressions become less likely]</b>.</li>
   </ul>
   </li>
-  <li>The compiler, standard library, platform, and Boost version you 
-  used to build and run your test program. <b>[The implementation includes much 
-  platform dependent code, and also depends on the other factors mentioned. Know 
-  these things upfront brings the bug report into focus without having to ask 
+  <li>The compiler, standard library, platform, and Boost version you
+  used to build and run your test program. <b>[The implementation includes much
+  platform dependent code, and also depends on the other factors mentioned. Know
+  these things upfront brings the bug report into focus without having to ask
   for more information. ]</b></li>
-  <li>A description of how to build and run the test program. <b>[If b2 
-  (formerly known as bjam) is used as the build engine, this is not a concern, 
+  <li>A description of how to build and run the test program. <b>[If b2
+  (formerly known as bjam) is used as the build engine, this is not a concern,
   but otherwise much more information is needed.]</b></li>
-  <li>A copy of the output from the test 
+  <li>A copy of the output from the test
   program, if any. <b>[Avoids misinterpreting results.]</b></li>
-  <li>An email address for follow-up questions.<b> [Trac comments are the 
-  primary means of response, but it is disheartening when a trac question is not 
+  <li>An email address for follow-up questions.<b> [Trac comments are the
+  primary means of response, but it is disheartening when a trac question is not
   answered and there is no email address attached for followup.]</b></li>
 </ol>
 <hr>
 <p>Revised
 <!--webbot bot="Timestamp" S-Type="EDITED" S-Format="%d %B, %Y" startspan -->28 January, 2015<!--webbot bot="Timestamp" endspan i-checksum="38902" --></p>
 <p>&copy; Copyright Beman Dawes, 2014</p>
-<p> Distributed under the Boost Software 
+<p> Distributed under the Boost Software
 License, Version 1.0. See <a href="http://www.boost.org/LICENSE_1_0.txt">
 www.boost.org/LICENSE_1_0.txt</a></p>
 
-
 </body>
-
-</html>
\ No newline at end of file
+</html>