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:
parent
05d97a6e80
commit
7582b75465
1 changed files with 20 additions and 18 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Reference in a new issue