diff options
Diffstat (limited to 'libgo/go/runtime/time_test.go')
-rw-r--r-- | libgo/go/runtime/time_test.go | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/libgo/go/runtime/time_test.go b/libgo/go/runtime/time_test.go index 9b1922d..254b0f1 100644 --- a/libgo/go/runtime/time_test.go +++ b/libgo/go/runtime/time_test.go @@ -23,6 +23,10 @@ func TestFakeTime(t *testing.T) { t.Skip("faketime not supported for gccgo") } + // Faketime is advanced in checkdead. External linking brings in cgo, + // causing checkdead not working. + testenv.MustInternalLink(t) + t.Parallel() exe, err := buildTestProg(t, "testfaketime", "-tags=faketime") @@ -41,7 +45,7 @@ func TestFakeTime(t *testing.T) { } t.Logf("raw stdout: %q", stdout.String()) - t.Logf("raw stderr: %q", stdout.String()) + t.Logf("raw stderr: %q", stderr.String()) f1, err1 := parseFakeTime(stdout.Bytes()) if err1 != nil { |