# regenerate the tests results files

# caution: validate that the yaml diff looks good before committing these
# changes

THIS=$(dirname $0)
cd $THIS

for x in *.xml; do
  y=$(echo $x | sed -e 's/\.xml/\.yaml/' -e 's/.*/\L&/g')
  echo converting $x to $y
  builder2ibek xml2yaml $x --yaml $y
done

builder2ibek db-compare ./SR03C-VA-IOC-01_expanded.db ./sr03c-va-ioc-01.db --output ./compare.diff --ignore SR03C-VA-IOC-01:
