Skip to content

Commit

Permalink
Svcomp config (#756)
Browse files Browse the repository at this point in the history
Signed-off-by: Hernan Ponce de Leon <[email protected]>
  • Loading branch information
hernanponcedeleon authored Oct 17, 2024
1 parent b2946bb commit afcd071
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion Dartagnan-SVCOMP.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,6 @@ else
skip_assertions_of_type=""
fi

cmd="java -jar svcomp/target/svcomp.jar --method=eager --encoding.integers=true $skip_assertions_of_type --svcomp.step=5 --svcomp.umax=27 cat/svcomp.cat --svcomp.property="$propertypath" "$programpath" "$witness
cmd="java -jar svcomp/target/svcomp.jar $skip_assertions_of_type cat/svcomp.cat --svcomp.property="$propertypath" "$programpath" "$witness
fi
$cmd
4 changes: 4 additions & 0 deletions svcomp.properties
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
method=eager
encoding.integers=true
svcomp.step=5
svcomp.umax=27
1 change: 1 addition & 0 deletions svcomp/src/main/java/com/dat3m/svcomp/SVCOMPRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -124,6 +124,7 @@ public static void main(String[] args) throws Exception {
cmd.addAll(Arrays.asList("-jar", System.getenv().get("DAT3M_HOME") + "/dartagnan/target/dartagnan.jar"));
cmd.add(fileModel.toString());
cmd.add(programPath);
cmd.add("svcomp.properties");
cmd.add(String.format("--%s=%s", PROPERTY, r.property.asStringOption()));
cmd.add(String.format("--%s=%s", BOUND, bound));
cmd.add(String.format("--%s=%s", WITNESS, GRAPHML.asStringOption()));
Expand Down

0 comments on commit afcd071

Please sign in to comment.