summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorHa Thach <[email protected]>2024-10-01 11:15:33 +0700
committerGitHub <[email protected]>2024-10-01 11:15:33 +0700
commiteda3cceab207bce390b995462e313ed124fa7732 (patch)
treef98671df0f5aeca86d84ac346661fcf705361d55 /test
parentad6e1ec782275237aeb403e1925dfe591ff419df (diff)
parent49d250be8f71c0bc8c9a107e90f8c2359b400997 (diff)
Merge pull request #2818 from hathach/add-esp32p4
Add esp32p4 OTG HS support
Diffstat (limited to 'test')
-rw-r--r--test/hil/hil_test.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/hil/hil_test.py b/test/hil/hil_test.py
index f152b1aa9..cb885aeb5 100644
--- a/test/hil/hil_test.py
+++ b/test/hil/hil_test.py
@@ -464,6 +464,8 @@ def main():
"""
global verbose
+ duration = time.time()
+
parser = argparse.ArgumentParser()
parser.add_argument('config_file', help='Configuration JSON file')
parser.add_argument('-b', '--board', action='append', default=[], help='Boards to test, all if not specified')
@@ -488,9 +490,10 @@ def main():
with Pool(processes=os.cpu_count()) as pool:
err_count = sum(pool.map(test_board, config_boards))
+ duration = time.time() - duration
print()
print("-" * 30)
- print(f'Total failed: {err_count}')
+ print(f'Total failed: {err_count} in {duration:.1f}s')
print("-" * 30)
sys.exit(err_count)