fix running BenchmarkBuild

It was accidentally broken during the last testscript refactor,
where we removed an os.Exit call around the main call there.
pull/909/head
Daniel Martí 3 months ago committed by Paul Scheduikat
parent 3c742dac65
commit deff1cb44d

@ -42,6 +42,7 @@ func TestMain(m *testing.M) {
} }
if os.Getenv("RUN_GARBLE_MAIN") == "true" { if os.Getenv("RUN_GARBLE_MAIN") == "true" {
main() main()
return
} }
testscript.Main(garbleMain{m}, map[string]func(){ testscript.Main(garbleMain{m}, map[string]func(){
"garble": main, "garble": main,

Loading…
Cancel
Save