Add time to output
This commit is contained in:
parent
829e1599a0
commit
292c6526dd
|
@ -188,6 +188,7 @@ public class TxTester {
|
|||
if (output != null) {
|
||||
output.add(outputT);
|
||||
}
|
||||
long start = System.currentTimeMillis();
|
||||
Parameters profile = loadProfile(test);
|
||||
outputT.add("name", test.asString("name"));
|
||||
if (Utilities.noString(filter) || filter.equals("*") || test.asString("name").contains(filter)) {
|
||||
|
@ -220,7 +221,7 @@ public class TxTester {
|
|||
throw new Exception("Unknown Operation "+test.asString("operation"));
|
||||
}
|
||||
|
||||
System.out.println(msg == null ? "Pass" : "Fail");
|
||||
System.out.println((msg == null ? "Pass" : "Fail") + " ("+Utilities.describeDuration(System.currentTimeMillis() - start)+")");
|
||||
if (msg != null) {
|
||||
System.out.println(" "+msg);
|
||||
error = msg;
|
||||
|
|
Loading…
Reference in New Issue