Skip to content

Commit 03f3bc5

Browse files
Merge branch 'ha_stabilize_tests4' into 'master'
Log iarbuild output in tests See merge request ide/vscode/iar-vsc-debug!93
2 parents 49b5124 + 728bc31 commit 03f3bc5

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

tests/suites/testUtils.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -148,15 +148,15 @@ export namespace TestUtils {
148148
const iarBuildPath = Path.join(workbenchPath, "common/bin/iarbuild" + IarOsUtils.executableExtension());
149149
console.log("Building " + ewpPath);
150150
return new Promise<void>((resolve, reject) => {
151-
const proc = spawn(iarBuildPath, [ewpPath, "-build", configuration], { stdio: "inherit" });
151+
const proc = spawn(iarBuildPath, [ewpPath, "-build", configuration]);
152152
proc.on("error", (err) => {
153153
reject(new Error(`Failed to spawn iarbuild: ${err.message}`));
154154
});
155155
proc.stdout?.on("data", data => {
156156
console.log(`iarbuild: ${data}`);
157157
});
158158
proc.stderr?.on("data", data => {
159-
console.log(`iarbuild: ${data}`);
159+
console.error(`iarbuild: ${data}`);
160160
});
161161
proc.on("exit", code => {
162162
if (code !== 0) {

0 commit comments

Comments
 (0)