mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 01:36:01 +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();
|
ICommandLauncher launcher = new CommandLauncher();
|
||||||
launcher.setProject(project);
|
launcher.setProject(project);
|
||||||
|
|
||||||
String[] comandLineOptions = getCommandLineOptions();
|
|
||||||
IPath program = getCommandToLaunch();
|
IPath program = getCommandToLaunch();
|
||||||
|
if (! program.isEmpty()) {
|
||||||
|
String[] comandLineOptions = getCommandLineOptions();
|
||||||
URI workingDirectoryURI = MakeBuilderUtil.getBuildDirectoryURI(project, MakeBuilder.BUILDER_ID);
|
URI workingDirectoryURI = MakeBuilderUtil.getBuildDirectoryURI(project, MakeBuilder.BUILDER_ID);
|
||||||
String[] envp = setEnvironment(launcher, env);
|
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.build(new SubProgressMonitor(monitor, TICKS_EXECUTE_PROGRAM, SubProgressMonitor.PREPEND_MAIN_LABEL_TO_SUBTASK));
|
||||||
buildRunnerHelper.close();
|
buildRunnerHelper.close();
|
||||||
buildRunnerHelper.goodbye();
|
buildRunnerHelper.goodbye();
|
||||||
|
}
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
MakeCorePlugin.log(e);
|
MakeCorePlugin.log(e);
|
||||||
|
|
Loading…
Add table
Reference in a new issue