Skip to content

Commit fe97280

Browse files
committed
fix
1 parent 694e599 commit fe97280

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/flakeguard/cmd/run.go

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -94,6 +94,8 @@ var RunTestsCmd = &cobra.Command{
9494
reports.RenderResults(os.Stdout, flakyTests, maxPassRatio, false)
9595
// Exit with error code if there are flaky tests
9696
os.Exit(1)
97+
} else if len(testReport.Results) == 0 {
98+
fmt.Printf("No tests were run for the specified packages.\n")
9799
}
98100
},
99101
}

0 commit comments

Comments
 (0)