blob: 5496cd32ec1a9dd1f9dc08a4b8130b3eef7c7129 [file] [log] [blame]
// +build !js
package tests_test
import (
"os"
"os/exec"
"testing"
)
// Go repository basic compiler tests, and regression tests for fixed compiler bugs.
func TestGoRepositoryCompilerTests(t *testing.T) {
args := []string{"go", "run", "run.go", "-summary"}
if testing.Verbose() {
args = append(args, "-v")
}
cmd := exec.Command(args[0], args[1:]...)
cmd.Stdout = os.Stdout
cmd.Stderr = os.Stdout
err := cmd.Run()
if err != nil {
t.Fatal(err)
}
}