in tools/functional_test/src/runtest/main.go [33:50]
func main() {
testSpec := flag.String("test_spec", "", "Path to a yaml or json file containing the test spec")
flag.Parse()
if *testSpec == "" {
log.Fatal("--test_spec must be specified")
}
suite := LoadSuite(*testSpec)
doSetup(suite)
report := doRunTests(suite)
reportAndExit := func() {
failureCount := report()
os.Exit(failureCount)
}
defer reportAndExit()
doTeardown(suite)
}