unittest: check for rule files existence
@@ -145,6 +145,9 @@ func resolveAndGlobFilepaths(baseDir string, utf *unitTestFile) error {
if err != nil {
return err
}
+ if len(m) <= 0 {
+ fmt.Fprintln(os.Stderr, " WARNING: no file match pattern", rf)
+ }
globbedFiles = append(globbedFiles, m...)
}
utf.RuleFiles = globbedFiles
