toolstash-check

command module
v0.0.0-...-608bba6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 22, 2020 License: BSD-3-Clause Imports: 10 Imported by: 0

README

Go Reference

Using toolstash-check locally

go get [-u] github.com/iwdgo/toolstash-check

Toolstash-check automates running toolstash -cmp against a CL.

Usage: toolstash-check [options] [commit]

Toolstash-check automates the following workflow for compiler regression testing a CL:

  1. Clone the $GOROOT Git repo into a new temporary directory.

  2. Checks out the specified commit's parent.

  3. Runs make.bash and toolstash save. (It sets GOROOT so that toolstash saves into the temporary directory.)

  4. Checks out the specified commit itself.

  5. Runs "go install std cmd".

  6. Runs "go build -a -toolexec='toolstash -cmp' std cmd".

If no commit ID is specified, toolstash-check defaults to HEAD.

If -all is specified, toolstash-check instead runs golang.org/x/tools/cmd/toolstash/buildall for the final step.

Using Continuous Integration

Flag -repo <filepath to repo>

Flag allows set file path to repository which defaults to GOROOT.

Flag -v

Logs key steps for debugging purposes.

Travis CI

The compiler-travis branch of go-upon-ci runs this fork of toolstash-check on tip of golang/go repository.

Patch files are produced using git format-patch <your commit> or git format-patch -1.

After commit, git push to your account to trigger CI. Travis CI detects your file after account setup and granting rights to the repository.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL