3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-08-23 13:18:00 +00:00

Add JUnit XML output file and .stamp files

Signed-off-by: Clifford Wolf <clifford@clifford.at>
This commit is contained in:
Clifford Wolf 2018-03-28 13:31:50 +02:00
parent 36c7185393
commit fc7ace7884
2 changed files with 36 additions and 0 deletions

View file

@ -142,6 +142,7 @@ class SbyJob:
self.models = dict()
self.workdir = workdir
self.status = "UNKNOWN"
self.total_time = 0
self.expect = []
self.exe_paths = {
@ -527,6 +528,7 @@ class SbyJob:
ru = resource.getrusage(resource.RUSAGE_CHILDREN)
total_process_time = int((ru.ru_utime + ru.ru_stime) - self.start_process_time)
self.total_time = total_process_time
self.summary = [
"Elapsed clock time [H:MM:SS (secs)]: %d:%02d:%02d (%d)" %