Skip to content

Commit

Permalink
Update NaxRiscvRvls.scala to avoid this error [no arguments Allowed f…
Browse files Browse the repository at this point in the history
…or nullary method count: ()Long] when running NaxRiscvRegression regression test
  • Loading branch information
bi262934 committed Jan 26, 2025
1 parent a3c73e3 commit c16df42
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/scala/naxriscv/NaxRiscvRvls.scala
Original file line number Diff line number Diff line change
Expand Up @@ -177,8 +177,8 @@ import scala.util.Random

workspacePath = s"simWorkspace/rvls/$name"
val workspaceOutputDir = envMap.getOrElse("WORKSPACE_OUTPUT_DIR", "logs")
val passed = doCmd(s"find $workspaceOutputDir -name PASS", env :_*)().lines.count(line => line.contains("PASS"))
val failed = doCmd(s"find $workspaceOutputDir -name FAIL", env :_*)().lines.count(line => line.contains("FAIL"))
val passed = doCmd(s"find $workspaceOutputDir -name PASS", env: _*)().lines.count(_.contains("PASS"))
val failed = doCmd(s"find $workspaceOutputDir -name FAIL", env: _*)().lines.count(_.contains("FAIL"))
println(s"PASS = $passed")
println(s"FAIL = $failed")
if(failed != 0 || passed == 0) throw new Exception("Failure")
Expand Down

0 comments on commit c16df42

Please sign in to comment.