aboutsummaryrefslogtreecommitdiff
path: root/docs/contributing/workflow.html
diff options
context:
space:
mode:
authordotty-bot <felix.mulder@epfl.ch>2017-03-31 16:08:59 +0000
committerdotty-bot <felix.mulder@epfl.ch>2017-03-31 16:08:59 +0000
commit792c6f1169d63547b218d72841bdc8e8a59144c5 (patch)
tree2d9f314c3eead85a7f326c23a145e6f15ca828e9 /docs/contributing/workflow.html
parent866d0c688713d2829ceeb0dc9ace3b075510a110 (diff)
downloaddotty-792c6f1169d63547b218d72841bdc8e8a59144c5.tar.gz
dotty-792c6f1169d63547b218d72841bdc8e8a59144c5.tar.bz2
dotty-792c6f1169d63547b218d72841bdc8e8a59144c5.zip
Update gh-pages site for d73c8e42ca526ff2c53a17ddd1fa87044dd5bbca
Diffstat (limited to 'docs/contributing/workflow.html')
-rw-r--r--docs/contributing/workflow.html13
1 files changed, 9 insertions, 4 deletions
diff --git a/docs/contributing/workflow.html b/docs/contributing/workflow.html
index 52b415319..58feb101d 100644
--- a/docs/contributing/workflow.html
+++ b/docs/contributing/workflow.html
@@ -86,7 +86,7 @@
<li><a class="toggle-children" onclick='(function(){var child=document.getElementById("Contributing");child.classList.toggle("show");child.classList.toggle("hide");})();'>Contributing</a>
<ul id="Contributing" class="show">
- <li><a href="../.././docs/contributing/eclipse.html">Eclipse</a></li><li><a href="../.././docs/contributing/getting-started.html">Getting Started</a></li><li><a href="../.././docs/contributing/intellij-idea.html">IntelliJ IDEA</a></li><li><a href="../.././docs/contributing/workflow.html">Workflow</a></li>
+ <li><a href="../.././docs/contributing/eclipse.html">Eclipse</a></li><li><a href="../.././docs/contributing/getting-started.html">Getting Started</a></li><li><a href="../.././docs/contributing/intellij-idea.html">IntelliJ IDEA</a></li><li><a href="../.././docs/contributing/workflow.html">Workflow</a></li><li><a href="../.././docs/contributing/testing.html">Testing</a></li>
</ul></li>
<li><a class="toggle-children" onclick='(function(){var child=document.getElementById("Internals");child.classList.toggle("show");child.classList.toggle("hide");})();'>Internals</a>
@@ -5439,10 +5439,15 @@ particular checks that types do not change. Some phases currently can't be
</code></pre>
<h2><a href="#running-single-tests" id="running-single-tests">Running single tests</a></h2>
<p>To test a specific test tests/x/y.scala (for example tests/pos/t210.scala):</p>
-<pre><code class="language-bash">&gt; partest-only-no-bootstrap --show-diff --verbose tests/partest-generated/x/y.scala
+<pre><code class="language-bash">&gt; filterTest .*pos/t210.scala
+</code></pre>
+<p>The filterTest task takes a regular expression as its argument. For example,
+you could run a negative and a positive test with:</p>
+<pre><code class="language-bash">&gt; filterTest (.*pos/t697.scala)|(.*neg/i2101.scala)
+</code></pre>
+<p>or if they have the same name, the equivalent can be achieved with:</p>
+<pre><code class="language-bash">&gt; filterTest .*/i2101.scala
</code></pre>
-<p>Currently this will re-run some unit tests and do some preprocessing because of
-the way partest has been set up.</p>
<h2><a href="#inspecting-trees-with-type-stealer" id="inspecting-trees-with-type-stealer">Inspecting Trees with Type Stealer</a></h2>
<p>There is no power mode for the REPL yet, but you can inspect types with the
type stealer:</p>