mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-23 22:52:11 +02:00
Save managedBuildInfo before closing project
This commit is contained in:
parent
c733971c61
commit
610f6d0dac
1 changed files with 3 additions and 0 deletions
|
@ -648,6 +648,9 @@ public class ManagedBuildMacrosTests extends TestCase {
|
|||
assertTrue(addMacro(TO_SAVE_W, IBuildMacro.VALUE_TEXT, TO_SAVE_W,
|
||||
IBuildMacroProvider.CONTEXT_WORKSPACE, worksp));
|
||||
try {
|
||||
// Save the buildinfo, and then remove it, to be complete
|
||||
ManagedBuildManager.saveBuildInfo(proj, true);
|
||||
ManagedBuildManager.removeBuildInfo(proj);
|
||||
proj.close(null);
|
||||
proj.open(null);
|
||||
} catch (CoreException e) {
|
||||
|
|
Loading…
Add table
Reference in a new issue