Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEike Stepper2018-01-03 11:49:12 -0500
committerEike Stepper2018-01-03 11:49:12 -0500
commit0bed1dcacbf3470342fe48f65859d94f02e5084d (patch)
tree9493d480ba6b5cca379338e3145a468b8851d952 /plugins/org.eclipse.emf.cdo.tests/src
parent5fcdb2849bdb23e634f703aa86cb4ea9566ef33d (diff)
downloadcdo-0bed1dcacbf3470342fe48f65859d94f02e5084d.tar.gz
cdo-0bed1dcacbf3470342fe48f65859d94f02e5084d.tar.xz
cdo-0bed1dcacbf3470342fe48f65859d94f02e5084d.zip
[528979] Migrate build to Maven/Tycho
https://bugs.eclipse.org/bugs/show_bug.cgi?id=528979
Diffstat (limited to 'plugins/org.eclipse.emf.cdo.tests/src')
-rw-r--r--plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/ConfigTestSuite.java20
1 files changed, 13 insertions, 7 deletions
diff --git a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/ConfigTestSuite.java b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/ConfigTestSuite.java
index f3d25e4ccc..dae2a552c3 100644
--- a/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/ConfigTestSuite.java
+++ b/plugins/org.eclipse.emf.cdo.tests/src/org/eclipse/emf/cdo/tests/config/impl/ConfigTestSuite.java
@@ -17,6 +17,7 @@ import org.eclipse.emf.cdo.tests.config.impl.ConfigTest.Skips;
import org.eclipse.net4j.util.io.IOUtil;
import org.eclipse.net4j.util.om.OMBundle;
+import org.eclipse.net4j.util.om.OMPlatform;
import java.lang.reflect.AnnotatedElement;
import java.lang.reflect.Method;
@@ -37,6 +38,8 @@ import junit.framework.TestSuite;
*/
public abstract class ConfigTestSuite implements IConstants
{
+ private static final boolean DISABLE_MAIN_SUITE_FINISHED = OMPlatform.INSTANCE.isProperty("disable.main.suite.finished");
+
private final List<IScenario> scenarios = new ArrayList<IScenario>();
public ConfigTestSuite()
@@ -129,15 +132,18 @@ public abstract class ConfigTestSuite implements IConstants
protected void mainSuiteFinished()
{
- for (IScenario scenario : scenarios)
+ if (!DISABLE_MAIN_SUITE_FINISHED)
{
- try
+ for (IScenario scenario : scenarios)
{
- scenario.mainSuiteFinished();
- }
- catch (Exception ex)
- {
- IOUtil.print(ex);
+ try
+ {
+ scenario.mainSuiteFinished();
+ }
+ catch (Exception ex)
+ {
+ IOUtil.print(ex);
+ }
}
}
}

Back to the top