bazelbuild / stardoc

Stardoc: Starlark Documentation Generator
Apache License 2.0
103 stars 40 forks source link

Update test regeneration script to support multiple Bazel versions #232

Closed tetromino closed 2 weeks ago

tetromino commented 2 weeks 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