Lines Matching full:files
5 # A script to generate twister options based on modified files.
216 # tag._match_fn(path) tests if the path matches files and/or
217 # files-regex
218 tag._match_fn = _get_match_fn(x.get("files"), x.get("files-regex"))
220 # Like tag._match_fn(path), but for files-exclude and
221 # files-regex-exclude
223 _get_match_fn(x.get("files-exclude"), x.get("files-regex-exclude"))
249 files = list(filter(lambda x: x, self.modified_files))
253 found.update(fnmatch.filter(files, pattern))
256 logging.debug(files)
258 if sorted(files) != sorted(found):
276 description="Generate twister argument files based on modified file")
279 parser.add_argument('-m', '--modified-files', default=None,
280 help="File with information about changed/deleted/added files.")
301 files = commit.split("\n") variable
304 files = json.load(fp) variable
306 print("Changed files:\n=========")
307 print("\n".join(files))
310 f = Filters(files, args.pull_request, args.platform)