Fix bwruntests yaml loader

This commit is contained in:
Michael Rogenmoser 2024-03-22 17:16:05 +01:00
parent 13e7333c4b
commit 2b98d1baa4

View file

@ -246,7 +246,7 @@ the pyyaml library which is not installed.""",
file=sys.stderr)
exit(1)
with open(args.test_file) as f:
testyaml = yaml.load(f)
testyaml = yaml.safe_load(f)
for testsetname, testv in testyaml.items():
for testname, insn in testv.items():
cmd = shlex.split(insn['command'])