mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-13 22:42:29 +03:00
Ignore src/test only in path_in_build_dir
Found while debugging Debian autopkgtests.
This commit is contained in:
parent
c1186f1b45
commit
a9c380b2b8
1 changed files with 1 additions and 1 deletions
|
@ -237,7 +237,7 @@ def scan_source(build_dir, build=metadata.Build()):
|
|||
return ignoreproblem(what, path_in_build_dir)
|
||||
if todelete(path_in_build_dir):
|
||||
return removeproblem(what, path_in_build_dir, filepath)
|
||||
if 'src/test' in filepath or '/test/' in path_in_build_dir:
|
||||
if 'src/test' in path_in_build_dir or '/test/' in path_in_build_dir:
|
||||
return warnproblem(what, path_in_build_dir)
|
||||
if options and 'json' in vars(options) and options.json:
|
||||
json_per_build['errors'].append([what, path_in_build_dir])
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue