Fix for typecheck doesn't notice compile errors in test files

- ensure we add all the staging modules so the _test files in there are "loaded"
- use build tags to skip tests that fail to build in specific os/arch pairs

Signed-off-by: Davanum Srinivas <davanum@gmail.com>
Co-Authored-By: Tim Hockin <thockin@google.com>

Kubernetes-commit: c230a45383c372e3861de3d4854cdfe28f4c482f
This commit is contained in:
Davanum Srinivas 2024-07-02 16:26:41 -04:00 committed by Kubernetes Publisher
parent fc096e5c76
commit 1292729d42
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,6 @@
//go:build !windows
// +build !windows
/*
Copyright 2022 The Kubernetes Authors.

View File

@ -1,3 +1,6 @@
//go:build !windows
// +build !windows
/*
Copyright 2022 The Kubernetes Authors.