test: gate go-libraries integration tests behind -tags=integration
Assisted-by: GLM 5.2
This commit is contained in:
@@ -5,7 +5,6 @@ package format
|
||||
|
||||
import (
|
||||
"os"
|
||||
"path/filepath"
|
||||
"strings"
|
||||
"testing"
|
||||
|
||||
@@ -172,11 +171,9 @@ func TestIdempotent(t *testing.T) {
|
||||
}
|
||||
|
||||
// TestRoundTrip checks that formatting produces source that still parses
|
||||
// cleanly, on the fixture and on the real go-flac kernels when present.
|
||||
// cleanly on the in-repository fixture.
|
||||
func TestRoundTrip(t *testing.T) {
|
||||
files := []string{"../testdata/sample_amd64.s"}
|
||||
real, _ := filepath.Glob("../../go-libraries/go-*/*.s")
|
||||
files = append(files, real...)
|
||||
for _, path := range files {
|
||||
src, err := os.ReadFile(path)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user