Skip to content

Commit 7702ff6

Browse files
absolute path not necessary
1 parent 7c53da4 commit 7702ff6

File tree

1 file changed

+0
-9
lines changed

1 file changed

+0
-9
lines changed

goblint_runner.py

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -42,15 +42,6 @@ def __init__(self, logger):
4242

4343
def run_with_config(self, config_str):
4444
config_args = config_str.split(" ")
45-
# in config_args, replace any relative paths with absolute paths
46-
pathparameters=["--conf"] # add more if needed
47-
for i in range(len(config_args)):
48-
if config_args[i] in pathparameters and i + 1 < len(config_args):
49-
conf_path = config_args[i + 1]
50-
if not path.isabs(conf_path):
51-
abs_conf_path = path.join(self.current_path, conf_path)
52-
config_args[i + 1] = abs_conf_path
53-
5445
args = [*config_args] + self.other_args
5546
self.logger.info(f"Config details: ./goblint {" ".join(args)}")
5647
process = subprocess.Popen([self.goblint_executable_path, *args],stdout=subprocess.PIPE,stderr=subprocess.STDOUT)

0 commit comments

Comments
 (0)