mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Inspect test environment on fucking Mac agent
This commit is contained in:
@@ -25,6 +25,8 @@ import org.jetbrains.annotations.NotNull;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.util.Map;
|
||||
import java.util.Properties;
|
||||
|
||||
/**
|
||||
* Environment to run Git.
|
||||
@@ -125,6 +127,18 @@ public class GitTestRunEnv {
|
||||
}
|
||||
}
|
||||
|
||||
log("** env:");
|
||||
final Map<String, String> env = System.getenv();
|
||||
for (Map.Entry<String, String> entry : env.entrySet()) {
|
||||
log(entry.getKey() + " = " + entry.getValue());
|
||||
}
|
||||
log("\n");
|
||||
log("\n** props:");
|
||||
Properties properties = System.getProperties();
|
||||
for (Map.Entry<Object, Object> entry : properties.entrySet()) {
|
||||
log(entry.getKey() + " = " + entry.getValue());
|
||||
}
|
||||
|
||||
throw new IllegalStateException("Git executable not found. " +
|
||||
"Please define IDEA_TEST_GIT_EXECUTABLE environment variable pointing to the Git executable.");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user