Skip to content

Commit

Permalink
chore: add timeout to catch long-running files
Browse files Browse the repository at this point in the history
  • Loading branch information
tobiasgrosser committed Dec 15, 2024
1 parent 0a46557 commit 93d734d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bv-evaluation/compare-leansat-vs-bitwuzla-llvm-sym.py
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def run_file(file: str):
with open(log_file_path, 'w') as log_file:
cmd = 'lake lean ' + file_path
print(cmd)
subprocess.Popen(cmd, cwd=ROOT_DIR, stdout=log_file, stderr=log_file, shell=True).wait()
subprocess.Popen(cmd, cwd=ROOT_DIR, stdout=log_file, stderr=log_file, shell=True).wait(timeout=1800)
subprocess.Popen('sed -i -E \'s,bv_bench,simp_alive_benchmark,g\' ' + file_path, cwd=ROOT_DIR, shell=True).wait()

def process(jobs: int):
Expand Down

0 comments on commit 93d734d

Please sign in to comment.