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:
commit
de43a4c936
|
@ -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():
|
||||
|
|
Loading…
Reference in a new issue