diff --git a/integration_tests/run_argnorm.py b/integration_tests/run_argnorm.py index 5f3c662..8e63da3 100644 --- a/integration_tests/run_argnorm.py +++ b/integration_tests/run_argnorm.py @@ -1,6 +1,7 @@ import subprocess import pandas as pd import os +import time os.makedirs('integration_tests/outputs/raw', exist_ok=True) os.makedirs('integration_tests/outputs/hamronized', exist_ok=True) @@ -18,8 +19,11 @@ def run_cli_test(tool, file, folder, db=None): if tool in ['abricate', 'groot']: command += ['--db', db] - + + start = time.time() subprocess.check_call(command) + end = time.time() + print(f'{tool} {file} {folder} : {end-start:.2f}s') output = pd.read_csv(f'integration_tests/outputs/{folder}/{file}', sep='\t') golden_file = pd.read_csv(f'outputs/{folder}/{file}', sep='\t')