ci: go test remove -v

This commit is contained in:
visualfc
2025-02-05 09:05:05 +08:00
parent 83dd77f4c4
commit 3a0d1466cc
3 changed files with 2 additions and 19 deletions

View File

@@ -17,9 +17,6 @@
package cl_test
import (
"io"
"log"
"os"
"testing"
"github.com/goplus/llgo/compiler/cl"
@@ -27,13 +24,6 @@ import (
"github.com/goplus/llgo/compiler/internal/build"
)
func init() {
devNull, _ := os.OpenFile(os.DevNull, os.O_WRONLY, 0)
os.Stderr = devNull
os.Stdout = devNull
log.SetOutput(io.Discard)
}
func testCompile(t *testing.T, src, expected string) {
t.Helper()
cltest.TestCompileEx(t, src, "foo.go", expected, false)

View File

@@ -18,9 +18,6 @@ package ssa_test
import (
"go/types"
"io"
"log"
"os"
"testing"
"github.com/goplus/llgo/compiler/cl/cltest"
@@ -29,10 +26,6 @@ import (
)
func init() {
devNull, _ := os.OpenFile(os.DevNull, os.O_WRONLY, 0)
os.Stderr = devNull
os.Stdout = devNull
log.SetOutput(io.Discard)
ssa.SetDebug(ssa.DbgFlagAll)
}