Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
N
nebula
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
exchain
nebula
Commits
734b37ea
Unverified
Commit
734b37ea
authored
Dec 12, 2023
by
Joshua Gutow
Committed by
GitHub
Dec 12, 2023
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #8574 from ethereum-optimism/aj/capture-build-failure
op-e2e: Include build output in failure message.
parents
8cef01b9
49229f5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
build_helper.go
op-e2e/build_helper.go
+5
-4
No files found.
op-e2e/build_helper.go
View file @
734b37ea
...
@@ -2,8 +2,8 @@ package op_e2e
...
@@ -2,8 +2,8 @@ package op_e2e
import
(
import
(
"context"
"context"
"os"
"os/exec"
"os/exec"
"strings"
"testing"
"testing"
"time"
"time"
...
@@ -17,9 +17,10 @@ func BuildOpProgramClient(t *testing.T) string {
...
@@ -17,9 +17,10 @@ func BuildOpProgramClient(t *testing.T) string {
defer
cancel
()
defer
cancel
()
cmd
:=
exec
.
CommandContext
(
ctx
,
"make"
,
"op-program-client"
)
cmd
:=
exec
.
CommandContext
(
ctx
,
"make"
,
"op-program-client"
)
cmd
.
Dir
=
"../op-program"
cmd
.
Dir
=
"../op-program"
cmd
.
Stdout
=
os
.
Stdout
// for debugging
var
out
strings
.
Builder
cmd
.
Stderr
=
os
.
Stderr
// for debugging
cmd
.
Stdout
=
&
out
require
.
NoError
(
t
,
cmd
.
Run
(),
"Failed to build op-program-client"
)
cmd
.
Stderr
=
&
out
require
.
NoErrorf
(
t
,
cmd
.
Run
(),
"Failed to build op-program-client: %v"
,
&
out
)
t
.
Log
(
"Built op-program-client successfully"
)
t
.
Log
(
"Built op-program-client successfully"
)
return
"../op-program/bin/op-program-client"
return
"../op-program/bin/op-program-client"
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment