Hi,
Whilst working on the Reproducible Builds effort [0], we noticed that
kicad-library-utils could not be built reproducibly.
This is because the testsuite bumps the modification time of two
directories to the current time (which later get clamped *back* to
SOURCE_DATE_EPOCH), so if the tests are skipped via nocheck,
then these directories will retain their original, upstream timestamp.
Also, the testsuite additionally did not tidy up after itself completely,
leading to a similar issue whereby the binary package differed if the
tests were run or not.
Patch attached that ensures these directories always have the same
timestamp, regardless of whether the tests are run, and additionally
tidies up this file.
[0] https://reproducible-builds.org/
Regards,