Skip to content

Commit

Permalink
build: add difftest.test to build target
Browse files Browse the repository at this point in the history
  • Loading branch information
Tang-Haojin committed Jan 6, 2025
1 parent d94fbff commit d270e9f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions build.sc
Original file line number Diff line number Diff line change
Expand Up @@ -175,6 +175,12 @@ object difftest extends HasChisel {

override def millSourcePath = pwd / "difftest"

object test extends SbtTests with TestModule.ScalaTest {
override def sources = T.sources {
super.sources() ++ Seq(PathRef(millSourcePath / "src" / "generator" / "chisel"))
}
}

}

object fudian extends HasChisel {
Expand Down Expand Up @@ -331,6 +337,10 @@ object xiangshan extends XiangShanModule with HasChisel with ScalafmtModule {
}

object test extends SbtTests with TestModule.ScalaTest {
override def moduleDeps = super.moduleDeps ++ Seq(
difftestModule.test
)

override def forkArgs = forkArgsTask()

override def ivyDeps = super.ivyDeps() ++ Agg(
Expand Down

0 comments on commit d270e9f

Please sign in to comment.