Skip to content

Commit

Permalink
#15 add --stacktrace argument to call theta
Browse files Browse the repository at this point in the history
  • Loading branch information
Benedek Horvath committed Sep 16, 2020
1 parent 4d9220e commit 86c203c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ class ThetaVerifier extends AbstractVerifier {
// java -jar %THETA_XSTS_CLI_PATH% --model trafficlight.xsts --property red_green.prop
val traceFile = new File(modelFile.traceFile)
traceFile.delete // So no invalid/old cex is parsed if this actual process does not generate one
val command = "java -jar " + jar.escapePath + " " + parameters + " --model " + modelFile.canonicalPath.escapePath + " --property " + queryFile.canonicalPath.escapePath + " --cex " + traceFile.canonicalPath.escapePath
val command = '''java -jar «jar.escapePath» «parameters» --model «modelFile.canonicalPath.escapePath» --property «queryFile.canonicalPath.escapePath» --cex «traceFile.canonicalPath.escapePath» --stacktrace'''
// Executing the command
logger.log(Level.INFO, "Executing command: " + command)
process = Runtime.getRuntime().exec(command)
Expand Down

0 comments on commit 86c203c

Please sign in to comment.