Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fixed integration test runner #2986

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
cmaglie merged 1 commit into arduino:master from cmaglie:fix-integrationtest-runner
Aug 27, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Fix integration test runner
  • Loading branch information
cmaglie committed Aug 27, 2025
commit cf75803eedac92598a23ec4be7fbf0fbd4af313f
6 changes: 3 additions & 3 deletions internal/integrationtest/arduino-cli.go
View file Open in desktop
Original file line number Diff line number Diff line change
Expand Up @@ -410,16 +410,16 @@ func (cli *ArduinoCLI) run(ctx context.Context, stdoutBuff, stderrBuff io.Writer
}
}()
if stdinBuff != nil {
wg.Add(1)
go func() {
defer wg.Done()
if _, err := io.Copy(stdin, stdinBuff); err != nil {
fmt.Fprintln(terminalErr, color.HiBlackString("<<< stdin copy error:"), err)
}
}()
}
cliErr := cliProc.WaitWithinContext(ctx)
wg.Wait()

return cliErr
return cliProc.WaitWithinContext(ctx)
}

// StartDaemon starts the Arduino CLI daemon. It returns the address of the daemon.
Expand Down
Loading

AltStyle によって変換されたページ (->オリジナル) /