mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
junit: allow run with working directory $MODULE_DIR$ across multiple modules
This commit is contained in:
@@ -433,7 +433,7 @@ public abstract class TestObject implements JavaCommandLine {
|
||||
private void appendForkInfo(Executor executor) throws ExecutionException {
|
||||
final String forkMode = myConfiguration.getForkMode();
|
||||
if (Comparing.strEqual(forkMode, "none")) {
|
||||
if (forkPerModule()) {
|
||||
if (forkPerModule() && getRunnerSettings() != null) {
|
||||
final String actionName = UIUtil.removeMnemonic(executor.getStartActionText());
|
||||
throw new CantRunException("'" + actionName + "' is disabled when per-module working directory is configured.<br/>" +
|
||||
"Please specify single working directory, or change test scope to single module.");
|
||||
|
||||
Reference in New Issue
Block a user