3
0
Fork 0
mirror of https://github.com/YosysHQ/sby.git synced 2025-04-06 14:24:08 +00:00

Merge pull request #191 from jix/early-readconfig

Read config before creating a workdir
This commit is contained in:
Jannis Harder 2022-07-06 12:05:13 +02:00 committed by GitHub
commit de43a4c936
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -402,6 +402,8 @@ if (workdir is not None) and (len(tasknames) != 1):
sys.exit(1)
def run_task(taskname):
sbyconfig, _, _, _ = read_sbyconfig(sbydata, taskname)
my_opt_tmpdir = opt_tmpdir
my_workdir = None
@ -461,7 +463,6 @@ def run_task(taskname):
else:
junit_filename = "junit"
sbyconfig, _, _, _ = read_sbyconfig(sbydata, taskname)
task = SbyTask(sbyconfig, my_workdir, early_logmsgs, reusedir)
for k, v in exe_paths.items():