We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f9c1b1 commit feebf3bCopy full SHA for feebf3b
compiler/test/dotty/tools/vulpix/TestGroup.scala
@@ -1,5 +1,11 @@
1
package dotty.tools.vulpix
2
3
+/** Test groups are used to ensure that the ouput of tests do not overlap.
4
+ *
5
+ * It can be used to disambiguate ouputs of tests that test the same file but with different options as shown in the following example.
6
+ * compileFilesInDir("../tests/pos", defaultOptions)(TestGroup("compileStdLib")) // will output in ./out/compileStdLib/...
7
+ * compileFilesInDir("../tests/pos", defaultOptimised)(TestGroup("optimised/testOptimised")) // will output in ./out/optimised/testOptimised/...
8
+ */
9
class TestGroup(val name: String) extends AnyVal {
10
override def toString: String = name
11
}
0 commit comments