Skip to content

Commit

Permalink
Updated test config with 1024 bytes for memory and 100 bytes for prin…
Browse files Browse the repository at this point in the history
…tSize.
  • Loading branch information
robby-phd committed Mar 3, 2025
1 parent a622aa5 commit 89a2905
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion jvm/src/test/scala/org/sireum/anvil/AnvilTest.scala
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,9 @@ class AnvilTest extends SireumRcSpec {
}
}
(dir / path(0)).removeAll()
for (p <- Anvil.synthesize(lang.IRTranslator.createFresh, th2, ISZ(), lastMethod, Anvil.Config.empty(path.mkString("/")), reporter).entries) {
var config = Anvil.Config.empty(path.mkString("/"))
config = config(memory = 1024, printSize = 100)
for (p <- Anvil.synthesize(lang.IRTranslator.createFresh, th2, ISZ(), lastMethod, config, reporter).entries) {
val f = dir /+ ISZ(path.map(String(_)): _*) /+ p._1
f.up.mkdirAll()
f.writeOver(p._2.render)
Expand Down

0 comments on commit 89a2905

Please sign in to comment.