package fprobe import ( "os" "testing" "amadan.net/rastrillo/rastrillo/budget" ) // TestMain is also the runner's reader in its __fprobe mode, so the // scripts' sources run for real against it. func TestMain(m *testing.M) { if len(os.Args) > 1 && os.Args[1] == "__fprobe" { os.Exit(HelperMain(os.Args[2:], os.Stdout)) } os.Exit(budget.Main(m)) }