mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-08 04:02:27 +00:00
Now scan_tests will generate 'scan_<target>.json`
also updated CI yaml and shell scripts
This commit is contained in:
@@ -383,3 +383,9 @@ def setup_logging(args):
|
||||
stream=args.log_file or sys.stderr,
|
||||
level=log_level,
|
||||
)
|
||||
|
||||
|
||||
def safe_exit_if_file_is_empty(file_name):
|
||||
if os.stat(file_name).st_size == 0:
|
||||
logging.warning('Skipping all...')
|
||||
sys.exit(0)
|
||||
|
Reference in New Issue
Block a user