File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 32
32
33
33
IDF_PATH = os .environ ['IDF_PATH' ]
34
34
35
- ignore_warning = os .environ ['EXPECTED_WARNING' ] if 'EXPECTED_WARNING' in os .environ else None
35
+ # Compose the ignore warning strings from the global list and from the environment
36
+ ignore_warning_file = os .path .join (os .path .dirname (os .path .realpath (__file__ )),'ignore_build_warnings.txt' )
37
+ ignore_warning = open (ignore_warning_file ).read ().rstrip ('\n ' ).split ('\n ' )
38
+ if 'EXPECTED_WARNING' in os .environ :
39
+ ignore_warning += os .environ ['EXPECTED_WARNING' ].split ('\n ' )
36
40
if args .linux :
37
41
SUPPORTED_TARGETS .append ('linux' )
38
42
ignore_warning = 'warning: ' # Ignore all common warnings on linux builds
Original file line number Diff line number Diff line change
1
+ DeprecationWarning: pkg_resources is deprecated as an API
You can’t perform that action at this time.
0 commit comments