golden-util

golden-util is a utility for golden testing. It does two things:

  • Test: Check that goldens in the source tree match newly generated files.
  • Regen: Overwrite goldens in the source tree with newly generated files.

It is used by //build/testing/golden_test.gni.