1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-05 16:56:04 +02:00

Fix unit test case failure due to warning in .log

This commit is contained in:
Andrew Gvozdev 2012-12-07 10:23:33 -05:00
parent 05d97a6e80
commit 7582b75465

View file

@ -123,8 +123,9 @@ public class DefaultRunSIProvider implements IExternalScannerInfoProvider {
ICommandLauncher launcher = new CommandLauncher();
launcher.setProject(project);
String[] comandLineOptions = getCommandLineOptions();
IPath program = getCommandToLaunch();
if (! program.isEmpty()) {
String[] comandLineOptions = getCommandLineOptions();
URI workingDirectoryURI = MakeBuilderUtil.getBuildDirectoryURI(project, MakeBuilder.BUILDER_ID);
String[] envp = setEnvironment(launcher, env);
@ -143,6 +144,7 @@ public class DefaultRunSIProvider implements IExternalScannerInfoProvider {
buildRunnerHelper.build(new SubProgressMonitor(monitor, TICKS_EXECUTE_PROGRAM, SubProgressMonitor.PREPEND_MAIN_LABEL_TO_SUBTASK));
buildRunnerHelper.close();
buildRunnerHelper.goodbye();
}
} catch (Exception e) {
MakeCorePlugin.log(e);