Skip to content

Commit

Permalink
Log a warning for unrecognized properties
Browse files Browse the repository at this point in the history
Signed-off-by: Hernan Ponce de Leon <[email protected]>
  • Loading branch information
hernan-poncedeleon committed Nov 14, 2023
1 parent 2261615 commit 7d6b01f
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions svcomp/src/main/java/com/dat3m/svcomp/SVCOMPRunner.java
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@
@Options
public class SVCOMPRunner extends BaseOptions {

private static final Logger logger = LogManager.getLogger(SVCOMPRunner.class);

private Property property;

@Option(
Expand Down Expand Up @@ -96,6 +98,7 @@ public static void main(String[] args) throws Exception {
config.recursiveInject(r);

if(r.property == null) {
logger.warn("Unrecognized property");
System.out.println("UNKNOWN");
return;
}
Expand Down

0 comments on commit 7d6b01f

Please sign in to comment.