import (
"flag"
"fmt"
- "io"
"internal/trace/raw"
+ "io"
"os"
"testing"
)
var (
convert = flag.String("convert", "", "Path to trace text file to convert to binary format")
- output = flag.String("out", "", "Output path for converted trace")
+ output = flag.String("out", "", "Output path for converted trace")
)
// TestConvertDump is not actually a test, it is a tool for converting trace
// text dumps generated by Dump into the binary trace format. Set -convert and
// -o to perform a converison.
//
-// go test internal/trace/testtrace -convert in.tracetxt -out out.trace
+// go test internal/trace/testtrace -convert in.tracetxt -out out.trace
//
// This would be cleaner as a dedicated internal command rather than a test,
// but cmd/dist does not handle internal (non-distributed) commands in std