diff options
| author | jackkoenig | 2016-02-25 16:09:12 -0800 |
|---|---|---|
| committer | jackkoenig | 2016-02-25 16:09:12 -0800 |
| commit | f240094a8650e155bdb82500c6aef6e6d9042fb7 (patch) | |
| tree | ab3db18d31e627d0e8303dadad3edb5fd363bfde /src | |
| parent | 7f42089cb681d29c3767f199216e0f2cabf34017 (diff) | |
Remove brittle rocket comparison to expected verilog test.
Diffstat (limited to 'src')
| -rw-r--r-- | src/test/scala/firrtlTests/Regress.scala | 25 |
1 files changed, 0 insertions, 25 deletions
diff --git a/src/test/scala/firrtlTests/Regress.scala b/src/test/scala/firrtlTests/Regress.scala deleted file mode 100644 index e8a25df3..00000000 --- a/src/test/scala/firrtlTests/Regress.scala +++ /dev/null @@ -1,25 +0,0 @@ - -package firrtlTests - -import org.scalatest._ - -import firrtl._ -import java.io._ -import scala.io.Source - -class RocketRegressionSpec extends FlatSpec with Matchers { - - // This test is temporary until we move to simulation-based testing - "CHIRRTL Rocket" should "match expected Verilog" in { - val firrtlSource = Source.fromURL(getClass.getResource("/regress/rocket.fir")) - val highCircuit = firrtl.Parser.parse("rocket.fir", firrtlSource.getLines) - val verilogSW = new StringWriter() - VerilogCompiler.run(highCircuit, verilogSW) - - val goldenVerilog = Source.fromURL(getClass.getResource("/regress/rocket-golden.v")) - - verilogSW.toString.split("\n") zip goldenVerilog.getLines.toSeq foreach { - case (verilog, golden) => verilog shouldEqual golden - } - } -} |
