Windows: Updates Windows Vendoring

Updates windows dependent libraries for vendoing.
This commit is contained in:
Nathan Gieseker
2019-01-23 18:43:18 -08:00
parent a686cc4bd8
commit 9a429d8d25
839 changed files with 282895 additions and 774 deletions

View File

@@ -0,0 +1,19 @@
package testutilities
import (
"testing"
"github.com/Microsoft/hcsshim/osversion"
)
func RequiresBuild(t *testing.T, b uint16) {
if osversion.Get().Build < b {
t.Skipf("Requires build %d+", b)
}
}
func RequiresExactBuild(t *testing.T, b uint16) {
if osversion.Get().Build != b {
t.Skipf("Requires exact build %d", b)
}
}