From 3065ab14d38b5b488d7351364cdb723d1c8601c5 Mon Sep 17 00:00:00 2001 From: Edoardo Vacchi Date: Fri, 9 Feb 2024 09:57:15 +0100 Subject: [PATCH] t Signed-off-by: Edoardo Vacchi --- .github/workflows/integration.yaml | 6 +++--- internal/integration_test/stdlibs/bench_test.go | 6 +++++- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/.github/workflows/integration.yaml b/.github/workflows/integration.yaml index 38121c3011e..78a4637a5f6 100644 --- a/.github/workflows/integration.yaml +++ b/.github/workflows/integration.yaml @@ -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: | diff --git a/internal/integration_test/stdlibs/bench_test.go b/internal/integration_test/stdlibs/bench_test.go index d0b24d6fbe4..33810630dcf 100644 --- a/internal/integration_test/stdlibs/bench_test.go +++ b/internal/integration_test/stdlibs/bench_test.go @@ -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"}