Updating CIF (PLC) code generator expected test output is difficult
-
copy_all
searches recursively for *_real
folders. It founds such folders nested in actual expected output folders now that the expected test output contains such folders.
-
test_cif2plc
and test_codegen
remove any actual output file that matches the expected output. If for a folder of output some files match and others don't, part of the real output gets removed. Then copy_all
removes all the files that were the same and you are left with only the files with differences. Not ideal for updating the expected test output.