changeset 51:be0b862fb796

Fail on mismatched preset mode.
author shade
date Fri, 30 Aug 2013 19:52:16 +0400
parents 09d02dd7b198
children 8c75606aa741
files harness/src/main/java/org/openjdk/jcstress/Options.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/harness/src/main/java/org/openjdk/jcstress/Options.java	Fri Aug 30 19:47:44 2013 +0400
+++ b/harness/src/main/java/org/openjdk/jcstress/Options.java	Fri Aug 30 19:52:16 2013 +0400
@@ -220,6 +220,7 @@
             System.err.println("Unknown test mode: " + this.mode);
             System.err.println();
             parser.printHelpOn(System.err);
+            return false;
         }
 
         return true;