Skip to content

Commit

Permalink
Ensure to write smt2 info to file.
Browse files Browse the repository at this point in the history
  • Loading branch information
robby-phd committed Feb 27, 2024
1 parent 5947988 commit 2922ce6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions shared/src/main/scala/org/sireum/logika/Smt2.scala
Original file line number Diff line number Diff line change
Expand Up @@ -669,7 +669,7 @@ object Smt2 {
val filename: String =
if (ops.StringOps(title).contains("[")) s"sat-$title"
else s"sat-$title-at-${pos.beginLine}-${pos.beginColumn}"
writeFile(logDir, filename, res.query)
writeFile(logDir, filename, s"${res.info}\n${res.query}")
case _ =>
}
if (config.smt2Caching && res.solverName != "none") {
Expand Down Expand Up @@ -1692,7 +1692,7 @@ object Smt2 {
val filename: String =
if (ops.StringOps(title).contains("[")) s"vc-$title"
else s"vc-$title-at-${pos.beginLine}-${pos.beginColumn}"
writeFile(logDir, filename, res.query)
writeFile(logDir, filename, s"${res.info}\n${res.query}")
case _ =>
}
if (config.smt2Caching && res.solverName != "none") {
Expand Down

0 comments on commit 2922ce6

Please sign in to comment.