I was able to purge the usage of TestOptionBuilder from my code.
Then I have one warning:
type FlatSpec in package scalatest is deprecated (since 3.1.0): The org.scalatest.FlatSpec trait has been moved and renamed. Please use org.scalatest.flatspec.AnyFlatSpec instead. This can be rewritten automatically with autofix:
https://github.com/scalatest/autofix/tree/master/3.1.xFollowing the instructions in the link, all the warnings were removed automatically :-)
Hmmm... fails with this class not found when running chiseltest...
[error] (Test / testOnly) java.lang.NoClassDefFoundError: com/vladsch/flexmark/ast/Node
[error] java.lang.NoClassDefFoundError: com/vladsch/flexmark/ast/Node
[error] at org.scalatest.tools.ReporterFactory.createHtmlReporter(ReporterFactory.scala:194)
[error] at org.scalatest.tools.ReporterFactory.getReporterFromConfiguration(ReporterFactory.scala:245)
[error] at org.scalatest.tools.ReporterFactory.$anonfun$createReportersFromConfigurations$1(ReporterFactory.scala:254)
[error] at scala.collection.TraversableLike.$anonfun$map$1(TraversableLike.scala:273)
[error] at scala.collection.Iterator.foreach(Iterator.scala:943)
[error] at scala.collection.Iterator.foreach$(Iterator.scala:943)
[error] at scala.collection.AbstractIterator.foreach(Iterator.scala:1431)
[error] at scala.collection.IterableLike.foreach(IterableLike.scala:74)
[error] at scala.collection.IterableLike.foreach$(IterableLike.scala:73)
So, punt on that dependency, disable HTML reports to get tests to work...
//testOptions in Test += Tests.Argument(TestFrameworks.ScalaTest, "-h", "reports/")
Got some funky errors when running tests in verilator, fixed by deleting "test_run_dir/".
So now I have something that compiles without warnings, runs basic tests.... Let's see how it fares on the build servers will full tests and P&R...