Skip to content

Commit 11e0513

Browse files
stowed away goblint_runner.py
1 parent 7702ff6 commit 11e0513

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

goblint_runner.py renamed to scripts/sv-comp/goblint_runner.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,10 @@ def __init__(self, logger):
1313
self.current_path = path.dirname(__file__)
1414
self.goblint_executable_path = path.join(self.current_path, "goblint")
1515
if not path.exists(self.goblint_executable_path):
16-
logger.error(f" Could not find goblint executable at {self.goblint_executable_path}; did you build goblint with make?")
17-
exit(1)
16+
self.goblint_executable_path=path.join(self.current_path, "..", "..", "goblint")
17+
if not path.exists(self.goblint_executable_path):
18+
logger.error(f" Could not find goblint executable neither at {self.current_path} nor at {path.dirname(self.goblint_executable_path)}; did you build goblint with make?")
19+
exit(1)
1820

1921
parser = argparse.ArgumentParser(
2022
description="""A facade in front of goblint to enable running a portfolio of configurations for SV-COMP.

0 commit comments

Comments
 (0)