From 9ba9ce1a23a699776b452e85964a26fbcea4a37d Mon Sep 17 00:00:00 2001 From: Doug MacEachern Date: Fri, 13 Jan 2006 18:46:13 +0000 Subject: [PATCH] -Dsigar.testVerbose=true will turn on verbose --- bindings/java/src/net/hyperic/sigar/test/SigarTestCase.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/bindings/java/src/net/hyperic/sigar/test/SigarTestCase.java b/bindings/java/src/net/hyperic/sigar/test/SigarTestCase.java index a5c3a3cd..9ca761a3 100644 --- a/bindings/java/src/net/hyperic/sigar/test/SigarTestCase.java +++ b/bindings/java/src/net/hyperic/sigar/test/SigarTestCase.java @@ -17,7 +17,9 @@ public abstract class SigarTestCase extends TestCase { private static Sigar sigar = null; private Properties props = new Properties(); - private static boolean verbose = false; + private static boolean verbose = + "true".equals(System.getProperty("sigar.testVerbose")); + private static PrintStream out = System.out; public SigarTestCase(String name) {