mirror of git://gcc.gnu.org/git/gcc.git
runtime: Disable crash tests that runs go tool.
From-SVN: r192735
This commit is contained in:
parent
66f2cabce6
commit
8d672b2640
|
|
@ -7,7 +7,7 @@ package runtime_test
|
|||
import (
|
||||
"io/ioutil"
|
||||
"os"
|
||||
"os/exec"
|
||||
// "os/exec"
|
||||
"path/filepath"
|
||||
"runtime"
|
||||
"testing"
|
||||
|
|
@ -50,6 +50,9 @@ func testCrashHandler(t *testing.T, ct *crashTest) {
|
|||
}
|
||||
f.Close()
|
||||
|
||||
/*
|
||||
gccgo does not have a go command.
|
||||
|
||||
got, err := exec.Command("go", "run", src).CombinedOutput()
|
||||
if err != nil {
|
||||
t.Fatalf("program exited with error: %v\n%v", err, string(got))
|
||||
|
|
@ -58,6 +61,8 @@ func testCrashHandler(t *testing.T, ct *crashTest) {
|
|||
if string(got) != string(want) {
|
||||
t.Fatalf("expected %q, but got %q", string(want), string(got))
|
||||
}
|
||||
|
||||
*/
|
||||
}
|
||||
|
||||
func TestCrashHandler(t *testing.T) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue