Salome HOME
projects
/
tools
/
sat.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix little bug about profile
[tools/sat.git]
/
commands
/
jobs.py
diff --git
a/commands/jobs.py
b/commands/jobs.py
index 2e01564b41dc90cfe3047e95d25b819dd12f8529..0999cf367f7298dbe36ac5d113912394d60702e0 100644
(file)
--- a/
commands/jobs.py
+++ b/
commands/jobs.py
@@
-415,7
+415,8
@@
class Job(object):
self.remote_log_files.append(local_path)
except Exception as e:
self.err += _("Unable to get %s log file from remote: %s" %
self.remote_log_files.append(local_path)
except Exception as e:
self.err += _("Unable to get %s log file from remote: %s" %
- (job_path_remote, str(e)))
+ (str(job_path_remote),
+ str(e)))
def has_failed(self):
'''Returns True if the job has failed.
def has_failed(self):
'''Returns True if the job has failed.
@@
-1078,6
+1079,9
@@
class Gui(object):
for board in list(self.d_input_boards.keys()):
if board not in self.d_xml_board_files:
self.add_xml_board(board)
for board in list(self.d_input_boards.keys()):
if board not in self.d_xml_board_files:
self.add_xml_board(board)
+ root_node = self.d_xml_board_files[board].xmlroot
+ src.xmlManager.append_node_attrib(root_node,
+ {"input_file" : self.file_boards})
# Loop over all jobs in order to get the lines and columns for each
# xml file
# Loop over all jobs in order to get the lines and columns for each
# xml file
@@
-1495,7
+1499,10
@@
def run(args, runner, logger):
" files :\n")), 4)
logger.write("%s\n" % gui.xml_global_file.logFile, 4)
for board in gui.d_xml_board_files.keys():
" files :\n")), 4)
logger.write("%s\n" % gui.xml_global_file.logFile, 4)
for board in gui.d_xml_board_files.keys():
- logger.write("%s\n" % gui.d_xml_board_files[board].logFile, 4)
+ file_path = gui.d_xml_board_files[board].logFile
+ file_name = os.path.basename(file_path)
+ logger.write("%s\n" % file_path, 4)
+ logger.add_link(file_name, "board", 0, board)
logger.write("\n", 4)
logger.write("\n", 4)