bazelbuild / stardoc

Stardoc: Starlark Documentation Generator
Apache License 2.0
108 stars 45 forks source link

Update test regeneration script to support multiple Bazel versions #232

Closed tetromino closed 5 months ago

tetromino commented 5 months ago

Refactor stardoc_test() to create regenerator binaries for each golden test, and have update-stardoc-tests.sh query for those regenerator binaries and run them with the appropriate version of Bazel. As a side effect, this makes virtually all of Stardoc's tests auto-updateable, reducing maintenance burden.

Also take the opportunity to switch manual legacy tests from Bazel 7.1 to 7.2