gvisor/tools
Rahat Mahmood fee2c07728 go-marshal tests should respect build tags.
Previously, the go-marshal-generated tests did not respect build
tags. This can cause the test to unbuildable under some build
configurations, as the original types the tests refer to may not be
defined.

This CL copies the build tags from the input files to the test,
similar to the generated library; however test packages have an
additional constraint. A test package cannot be totally empty
(i.e. have no test/example/benchmark defined), otherwise the go
compiler returns an error. To ensure the generated test package always
contains a testable entity under all build configurations, we now emit
an extra test file with no build tags that contains a single no-op
example.

PiperOrigin-RevId: 334496821
2020-09-29 17:29:08 -07:00
..
bazeldefs Support stdlib analyzers with nogo. 2020-08-26 14:42:35 -07:00
bigquery BigQuery schema for benchmark-tools dashboard. 2020-03-30 13:05:45 -07:00
checkescape Change nogo failures to test failures, instead of build failures. 2020-08-31 17:09:20 -07:00
checkunsafe Add internal nogo analysis & checkescape tool. 2020-04-20 20:58:20 -07:00
github Add nogo check annotations to GitHub. 2020-09-29 13:16:54 -07:00
go_generics Internal change. 2020-09-23 07:29:31 -07:00
go_marshal go-marshal tests should respect build tags. 2020-09-29 17:29:08 -07:00
go_stateify Add bzl_library rules for .bzl files without one. 2020-08-06 12:10:49 -07:00
installers Merge pull request #2672 from amscanne:shim-integrated 2020-07-13 16:10:58 -07:00
nogo Add nogo check annotations to GitHub. 2020-09-29 13:16:54 -07:00
tags Automatically propagate tags for stateify and marshal. 2020-02-04 14:37:39 -08:00
vm Add bzl_library rules for .bzl files without one. 2020-08-06 12:10:49 -07:00
BUILD Add bzl_library rules for .bzl files without one. 2020-08-06 12:10:49 -07:00
bazel.mk Add nogo check annotations to GitHub. 2020-09-29 13:16:54 -07:00
defs.bzl go-marshal tests should respect build tags. 2020-09-29 17:29:08 -07:00
go_branch.sh Include shim binaries in the Go branch. 2020-08-03 09:09:51 -07:00
make_apt.sh Fix make_apt script. 2020-09-07 21:18:22 -07:00
make_release.sh Drop complex awk step. 2020-07-30 09:59:03 -07:00
tag_release.sh Move to make for tag release workflow. 2020-06-01 10:31:26 -07:00
workspace_status.sh Standardize on tools directory. 2020-01-27 12:21:00 -08:00