diff --git a/build/org.eclipse.cdt.autotools.core/plugin.xml b/build/org.eclipse.cdt.autotools.core/plugin.xml index 17133ed0fc4..fbf5b63700a 100644 --- a/build/org.eclipse.cdt.autotools.core/plugin.xml +++ b/build/org.eclipse.cdt.autotools.core/plugin.xml @@ -396,6 +396,7 @@ name="%Configuration.build.name"> environmentVariables = new HashMap<>(); + for (IEnvironmentVariable var : variables) { + environmentVariables.put(var.getName(), var); + } + + IEnvironmentVariable verboseEnvironmentVariable = environmentVariables.get("V"); + assertNotNull(verboseEnvironmentVariable); + assertEquals("1", verboseEnvironmentVariable.getValue()); + } + + protected void tearDown() throws Exception { + testProject.refreshLocal(IResource.DEPTH_INFINITE, null); + try { + testProject.delete(true, true, null); + } catch (Exception e) { + // FIXME: Why does a ResourceException occur when deleting the + // project?? + } + super.tearDown(); + } +} +