SWT Error while running unit tests
@@ -97,12 +97,13 @@ public class ValidatePipelineUnitTestExtensionPoint
String dontShowResults =
pipeline.getVariable(DataSetConst.VAR_DO_NOT_SHOW_UNIT_TEST_ERRORS, "N");
-
+ if ("N".equalsIgnoreCase(dontShowResults)) {
final HopGui hopGui = HopGui.getInstance();
- if (hopGui != null && "N".equalsIgnoreCase(dontShowResults)) {
+ if (hopGui != null) {
showUnitTestErrors(pipeline, results, hopGui);
}
}
+ }
log.logBasic("----------------------------------------------");
for (UnitTestResult result : results) {
if (result.getDataSetName() != null) {
