Skip to content

Commit

Permalink
Remove some printlns in tests (#2445)
Browse files Browse the repository at this point in the history
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
  • Loading branch information
jackkoenig and mergify[bot] authored Dec 17, 2021
1 parent 02e46bd commit 6b82bcf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,8 @@ class RtlilEquivalenceTest extends AnyFlatSpec with LazyLogging {
val verilogFile = testDir.toString + "/" + fileName + ".v"

val log = ProcessLogger(
msg => {
println(msg)
},
logger.error(_)
logger.info(_),
logger.warn(_)
)

val yosysArgs = Array(
Expand All @@ -67,7 +65,6 @@ class RtlilEquivalenceTest extends AnyFlatSpec with LazyLogging {
"equiv_induct -seq 1 -undef;",
"equiv_status -assert"
)
println(yosysArgs.mkString(" "))
val yosysRet = Process(Seq("yosys", "-p", yosysArgs.mkString(" "))).run(log).exitValue()
assert(yosysRet == 0, s"Unable to prove equivalence of design ${name}.")
}
Expand Down
1 change: 0 additions & 1 deletion src/test/scala/firrtlTests/SeparateWriteClocksSpec.scala
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ class SeparateWriteClocksSpec extends FirrtlFlatSpec {
| m.w_b.mask <= UInt(1)
| m.w_b.data <= wdata_b""".stripMargin)

println(result.circuit.serialize)
result should containLine("m.r.clk <= clk")
result should containLine("m.w_a.clk <= m_w_a_clk")
result should containLine("m.w_b.clk <= m_w_b_clk")
Expand Down

0 comments on commit 6b82bcf

Please sign in to comment.