pull/105/head
Pagran 5 years ago
parent 8f10b1a1ce
commit cd97f2f4e4

@ -29,12 +29,11 @@ func BenchmarkBuild(b *testing.B) {
}
defer os.RemoveAll(tdir)
garbleBinaryName := "garble"
garbleBin := filepath.Join(tdir, "garble")
if runtime.GOOS == "windows" {
garbleBinaryName += ".exe"
garbleBin += ".exe"
}
garbleBin := filepath.Join(tdir, garbleBinaryName)
if err := exec.Command("go", "build", "-o="+garbleBin).Run(); err != nil {
b.Fatalf("building garble: %v", err)
}

Loading…
Cancel
Save