diff options
| author | Sequencer | 2020-02-22 02:12:12 +0000 |
|---|---|---|
| committer | GitHub | 2020-02-21 21:12:12 -0500 |
| commit | 377685145e8031fae7129d26d1ee4bd72f538355 (patch) | |
| tree | 72aed5666e0ff3c124065025be272d95fa02f682 | |
| parent | 29e1bbd023ad6ac8b525b448a51fb23ba03fd797 (diff) | |
mill: add testOnly (#1357)
| -rw-r--r-- | build.sc | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -93,6 +93,12 @@ class chisel3CrossModule(crossVersionValue: String) extends CommonModule with Pu ) ++ ivyCrossDeps def testFrameworks = Seq("org.scalatest.tools.Framework") + + // a sbt-like testOnly command. + // for example, mill -i "chisel3[2.12.10].test.testOnly" "chiselTests.BitwiseOpsSpec" + def testOnly(args: String*) = T.command { + super.runMain("org.scalatest.run", args: _*) + } } override def buildInfoPackageName = Some("chisel3") |
