aboutsummaryrefslogtreecommitdiff
path: root/tests/integration/reproducibility/README.rst
blob: 1ac775105e119678c46d931551f2721b22553674 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Reproducibility

reproducibility_test
--------------------
Verifies that the files generated when building a set of targets are identical,
even when built from multiple copies of the same workspace.

Currently covers pure ``go_binary`` targets and a cgo ``go_binary`` with
``linkmode = "c-archive"``.

TODO: cover more modes. Currently, it seems like a cgo ``go_binary`` that
produces an executable is not reproducible on macOS. This is most likely
due to the external linker, since all the inputs to the linker are identical.
Needs investigation.