Skip to content

Commit

Permalink
update compile only logic
Browse files Browse the repository at this point in the history
  • Loading branch information
M0stafaRady committed Jul 31, 2024
1 parent 86d01dc commit fd1d0e6
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions cocotb/caravel_cocotb/scripts/verify_cocotb/RunRegression.py
Original file line number Diff line number Diff line change
Expand Up @@ -234,14 +234,15 @@ def run_all_tests(self):

def test_run_function(self, test):
test.start_of_test()
self.update_run_log()
self.update_live_table()
if not self.args.compile_only:
self.update_run_log()
self.update_live_table()
RunTest(self.args, self.paths, test, self.logger).run_test()
if not self.args.compile_only:
self.update_run_log()
self.update_live_table()
if self.args.progress:
self.logger.info(f"Total: {f'passed ({test.passed_count})':12} {f'failed ({test.failed_count})':12} {f'unknown ({test.unknown_count})':13} elapsed time ({('%.10s' % (datetime.now() - self.total_start_time))})")
if self.args.progress:
self.logger.info(f"Total: {f'passed ({test.passed_count})':12} {f'failed ({test.failed_count})':12} {f'unknown ({test.unknown_count})':13} elapsed time ({('%.10s' % (datetime.now() - self.total_start_time))})")

def update_run_log(self):
file_name = f"{self.paths.SIM_PATH}/{self.args.tag}/runs.log"
Expand Down

0 comments on commit fd1d0e6

Please sign in to comment.