diff options
author | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-08-07 17:28:22 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@gcc.gnu.org> | 2018-08-07 17:28:22 +0000 |
commit | 9be4d77249fcba6baead6e27cdb2447d4e6039fa (patch) | |
tree | fff7c9af726d4d0a43069e1c830b095a5af8bf34 /libgo | |
parent | 4663b943c6eec1006f160dbec0729511bc5d1838 (diff) | |
download | gcc-9be4d77249fcba6baead6e27cdb2447d4e6039fa.zip gcc-9be4d77249fcba6baead6e27cdb2447d4e6039fa.tar.gz gcc-9be4d77249fcba6baead6e27cdb2447d4e6039fa.tar.bz2 |
libgo: uncomment trace.Stop() call in testing package
Fix up the testing package to insure that execution traces
work properly (e.g. "-test.trace=<XXX>" command line option). The
call to stop tracing and emit the output file was stubbed out.
Reviewed-on: https://go-review.googlesource.com/128275
From-SVN: r263363
Diffstat (limited to 'libgo')
-rw-r--r-- | libgo/go/testing/testing.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libgo/go/testing/testing.go b/libgo/go/testing/testing.go index f39d5ef..f56dbf8 100644 --- a/libgo/go/testing/testing.go +++ b/libgo/go/testing/testing.go @@ -1159,7 +1159,7 @@ func (m *M) writeProfiles() { m.deps.StopCPUProfile() // flushes profile to disk } if *traceFile != "" { - // trace.Stop() // flushes trace to disk + trace.Stop() // flushes trace to disk } if *memProfile != "" { f, err := os.Create(toOutputDir(*memProfile)) |