Skip to content

Commit

Permalink
t
Browse files Browse the repository at this point in the history
Signed-off-by: Edoardo Vacchi <[email protected]>
  • Loading branch information
evacchi committed Feb 9, 2024
1 parent 3dbca3f commit 3065ab1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 4 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -369,9 +369,9 @@ jobs:
run: |
cd ${{ env.STDLIB_TESTS }}
make build.gowasip1
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
#
# - name: Setup tmate session
# uses: mxschmitt/action-tmate@v3

- name: Run built test binaries
run: |
Expand Down
6 changes: 5 additions & 1 deletion internal/integration_test/stdlibs/bench_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,14 @@ var (
normalizedTestdir := normalizeOsPath(testdir)

c, stdout, stderr = defaultModuleConfig()
tempDir := os.TempDir()
println("GOROOT IS", runtime.GOROOT())
println("TEST DIR IS", normalizedTestdir)
println("TEMP DIR IS ", tempDir)
c = c.WithFSConfig(
wazero.NewFSConfig().
WithDirMount(sysroot, "/").
WithDirMount(os.TempDir(), "tmp")).
WithDirMount(tempDir, "tmp")).
WithEnv("PWD", normalizedTestdir)

args := []string{fname, "-test.short", "-test.v"}
Expand Down

0 comments on commit 3065ab1

Please sign in to comment.