diff options
Diffstat (limited to 'src/test/scala/firrtlTests/IntegrationSpec.scala')
| -rw-r--r-- | src/test/scala/firrtlTests/IntegrationSpec.scala | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/src/test/scala/firrtlTests/IntegrationSpec.scala b/src/test/scala/firrtlTests/IntegrationSpec.scala new file mode 100644 index 00000000..eb5a7fa1 --- /dev/null +++ b/src/test/scala/firrtlTests/IntegrationSpec.scala @@ -0,0 +1,26 @@ + +package firrtlTests + +import org.scalatest._ +import org.scalatest.prop._ + +class IntegrationSpec extends FirrtlPropSpec { + + case class Test(name: String, dir: String) + + val runTests = Seq(Test("GCDTester", "/integration")) + + runTests foreach { test => + property(s"${test.name} should execute correctly") { + runFirrtlTest(test.name, test.dir) + } + } + + val compileTests = Seq(Test("rocket", "/regress"), Test("rocket-firrtl", "/regress")) + + compileTests foreach { test => + property(s"${test.name} should compile to Verilog") { + compileFirrtlTest(test.name, test.dir) + } + } +} |
