Printed a warning message when timing tests are disabled
This commit is contained in:
parent
a5a7181615
commit
e6cc8fb5eb
@ -33,7 +33,9 @@ public final class TestOptions {
|
|||||||
static {
|
static {
|
||||||
String value = System.getProperty("exclude-timing-tests", "false");
|
String value = System.getProperty("exclude-timing-tests", "false");
|
||||||
ENABLED = !ConversionUtil.toBoolean(value);
|
ENABLED = !ConversionUtil.toBoolean(value);
|
||||||
System.out.println("Timing tests will be disabled as requested.");
|
if (!ENABLED) {
|
||||||
|
System.err.println("Timing tests will be disabled as requested.");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
public static boolean isTimingTestEnabled() {
|
public static boolean isTimingTestEnabled() {
|
||||||
|
Loading…
Reference in New Issue
Block a user