summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'guide/pytest.html')
-rw-r--r--guide/pytest.html5
1 files changed, 4 insertions, 1 deletions
diff --git a/guide/pytest.html b/guide/pytest.html
index 6f5f99e..c56c234 100644
--- a/guide/pytest.html
+++ b/guide/pytest.html
@@ -222,7 +222,7 @@ and blocking arch testing machines.</p>
in seconds, prior to calling <code class="docutils literal notranslate"><span class="pre">distutils_enable_tests</span></code>. This ensures
that an appropriate depedency is added, and that <code class="docutils literal notranslate"><span class="pre">epytest</span></code> adds
necessary command-line options.</p>
-<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span><span class="nv">EPYTEST_TIMEOUT</span><span class="o">=</span><span class="m">1800</span>
+<div class="highlight-bash notranslate"><div class="highlight"><pre><span></span>:<span class="w"> </span><span class="si">${</span><span class="nv">EPYTEST_TIMEOUT</span><span class="p">:=1800</span><span class="si">}</span>
distutils_enable_tests<span class="w"> </span>pytest
</pre></div>
</div>
@@ -232,6 +232,9 @@ tests hang, the total run time will multiply consequently.</p>
<p>When deciding on a timeout value, please take into the consideration
that the tests may be run on a low performance hardware, and on a busy
system, and choose an appropriately high value.</p>
+<p>It is a good idea to use the default assignment form, as in the snippet
+above, as that permits the user to easily override the timeout
+if necessary.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p><code class="docutils literal notranslate"><span class="pre">EPYTEST_TIMEOUT</span></code> can also be set by user in <code class="docutils literal notranslate"><span class="pre">make.conf</span></code>