mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[rdct] XPlatLauncher java_home_test fix
GitOrigin-RevId: 47193a6a8371ca5350fcdf14ca4e9f642ea316bc
This commit is contained in:
committed by
intellij-monorepo-bot
parent
7fc185917b
commit
1af62f15f8
@@ -81,6 +81,11 @@ fn prepare_test_env_impl(layout_kind: &LayoutSpec) -> Result<TestEnvironment> {
|
||||
test_root_dir: temp_dir
|
||||
};
|
||||
|
||||
// clean environment variables
|
||||
env::remove_var("IU_JDK");
|
||||
env::remove_var("JDK_HOME");
|
||||
env::remove_var("JAVA_HOME");
|
||||
|
||||
Ok(result)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user