#1145915 googletest: please make the build reproducible

#1145915#5
Date:
2026-08-27 19:07:16 UTC
From:
To:
Hi,

Whilst working on the Reproducible Builds effort [0], we noticed that
googletest could not be built reproducibly.

This is because the testsuite bumps the modification time of the
test/ directory to the current time (which later gets clamped back to
SOURCE_DATE_EPOCH), so if the tests are skipped via nocheck, then this
directory will retain its original, upstream timestamp.

Patch attached that ensures this directory always has the same
timestamp, regardless of whether the tests are run or not.

Patch attached.

 [0] https://reproducible-builds.org/


Regards,