Skip to content

Commit 1bc2375

Browse files
committed
Const version
1 parent a62c87b commit 1bc2375

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

e2e/remoteproc/simulator.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import (
1010
"github.com/arm/remoteproc-runtime/e2e/runner"
1111
)
1212

13+
const Version = "v0.0.8"
14+
1315
func DownloadSimulator(ctx context.Context, version, goos, goarch string) (string, error) {
1416
return download.GithubRelease(ctx, "arm", "remoteproc-simulator", version, goos, goarch)
1517
}

e2e/runtime_via_podman_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
func TestPodman(t *testing.T) {
1818
limavm.Require(t)
1919

20-
simulatorBinary, err := remoteproc.DownloadSimulator(context.Background(), "v0.0.8", runtime.GOOS, runtime.GOARCH)
20+
simulatorBinary, err := remoteproc.DownloadSimulator(context.Background(), remoteproc.Version, runtime.GOOS, runtime.GOARCH)
2121
require.NoError(t, err)
2222

2323
rootpathPrefix := t.TempDir()

e2e/shim_via_docker_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import (
1919
func TestDocker(t *testing.T) {
2020
limavm.Require(t)
2121

22-
simulatorBinary, err := remoteproc.DownloadSimulator(context.Background(), "v0.0.8", runtime.GOOS, runtime.GOARCH)
22+
simulatorBinary, err := remoteproc.DownloadSimulator(context.Background(), remoteproc.Version, runtime.GOOS, runtime.GOARCH)
2323
require.NoError(t, err)
2424

2525
rootpathPrefix := t.TempDir()

0 commit comments

Comments
 (0)