Skip to content

Update test regeneration script to support multiple Bazel versions#232

Merged
tetromino merged 2 commits intobazelbuild:masterfrom
tetromino:update-tests
Jun 18, 2024
Merged

Update test regeneration script to support multiple Bazel versions#232
tetromino merged 2 commits intobazelbuild:masterfrom
tetromino:update-tests

Conversation

@tetromino
Copy link
Collaborator

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

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
@tetromino tetromino merged commit aba1a01 into bazelbuild:master Jun 18, 2024
@tetromino tetromino deleted the update-tests branch June 18, 2024 18:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants