Skip to content

testscript: add support for Go master aka 1.18#145

Merged
mvdan merged 1 commit into
rogpeppe:masterfrom
mvdan:support-1.18
Sep 23, 2021
Merged

testscript: add support for Go master aka 1.18#145
mvdan merged 1 commit into
rogpeppe:masterfrom
mvdan:support-1.18

Conversation

@mvdan

@mvdan mvdan commented Sep 22, 2021

Copy link
Copy Markdown
Collaborator

(see commit message)

@mvdan mvdan requested review from myitcv and rogpeppe September 22, 2021 16:27
@mvdan mvdan force-pushed the support-1.18 branch 2 times, most recently from 2c163ac to 6f57cb6 Compare September 22, 2021 16:30

@myitcv myitcv left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM although I'll declare I'm not too familiar with the fuzzy stuff

@rogpeppe rogpeppe left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks!

Comment thread testscript/exe_go118.go
Fuzzing support brought a new parameter to MainStart,
as well as more methods on testDeps.
Use build tags to support those without breaking 1.16 nor 1.17.

While at it, bump CI to test the two latest Go versions,
and run 1.17's gofmt, as CI demands it.

Finally, make CI also test with Go's master version,
to ensure that we are compatible with it.
We pin a specific commit, since that keeps CI stable.

Fixes rogpeppe#144.

Co-authored-by: Roger Peppe <rogpeppe@gmail.com>
@mvdan

mvdan commented Sep 23, 2021

Copy link
Copy Markdown
Collaborator Author

@rogpeppe @myitcv test-gotip is now added. It takes about 3m, compared to just under 1m for the stable version. That is to be expected, as building from source takes between a minute and two on average hardware.

@myitcv

myitcv commented Sep 23, 2021

Copy link
Copy Markdown
Collaborator

Still LGTM. Thank you for going the extra mile 😄

@mvdan mvdan merged commit 86f73c5 into rogpeppe:master Sep 23, 2021
@mvdan mvdan deleted the support-1.18 branch September 23, 2021 15:10
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.

3 participants