mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-13 21:55:07 +00:00
ci: use .txt files instead of .log file for better preview
This commit is contained in:
@@ -107,7 +107,7 @@ class Env(object):
|
||||
dut_config = dict()
|
||||
dut_config.update(dut_init_args)
|
||||
dut = dut_class(dut_name, port,
|
||||
os.path.join(self.log_path, dut_name + '.log'),
|
||||
os.path.join(self.log_path, dut_name + '.txt'),
|
||||
app_inst,
|
||||
**dut_config)
|
||||
self.allocated_duts[dut_name] = {'port': port, 'dut': dut}
|
||||
|
@@ -30,7 +30,7 @@ _COLOR_CODES = {
|
||||
|
||||
def _get_log_file_name():
|
||||
if Env.Env.CURRENT_LOG_FOLDER:
|
||||
file_name = os.path.join(Env.Env.CURRENT_LOG_FOLDER, 'console.log')
|
||||
file_name = os.path.join(Env.Env.CURRENT_LOG_FOLDER, 'console.txt')
|
||||
else:
|
||||
raise OSError('env log folder does not exist, will not save to log file')
|
||||
return file_name
|
||||
|
Reference in New Issue
Block a user