fix for CLI Should Fail with Non-Zero Exit Code on TX Test Errors
This commit is contained in:
parent
f687a52d7d
commit
4481b6abb2
|
@ -50,7 +50,7 @@ public class TxTestsTask extends StandaloneTask{
|
|||
output = Utilities.path("[tmp]");
|
||||
}
|
||||
boolean ok = new TxTester(new TxTester.InternalTxLoader(version), tx, false, loadExternals(externals)).setOutput(output).execute(cliContext.getModeParams(), filter);
|
||||
SystemExitManager.setError(ok ? 1 : 0);
|
||||
SystemExitManager.setError(ok ? 0 : 1);
|
||||
SystemExitManager.finish();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue