prysm-pulse/testing/bls/BUILD.bazel
Raul Jordan a9a4bb9163
Move Shared/Testutil into Testing (#9659)
* move testutil

* util pkg

* build

* gaz

Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
2021-09-23 18:53:46 +00:00

52 lines
1.6 KiB
Python

load("@prysm//tools/go:def.bzl", "go_library", "go_test")
# gazelle:resolve go github.com/supranational/blst/bindings/go @com_github_supranational_blst//:go_default_library
go_test(
name = "go_default_test",
size = "small",
srcs = [
"aggregate_test.go",
"aggregate_verify_test.go",
"batch_verify_test.go",
"deserialization_G1_test.go",
"deserialization_G2_test.go",
"fast_aggregate_verify_test.go",
"hash_to_G2_test.go",
"sign_test.go",
"verify_test.go",
],
data = glob(["*.yaml"]) + [
"@bls_spec_tests//:test_data",
],
embed = [":go_default_library"],
shard_count = 4,
tags = ["spectest"],
deps = [
"//crypto/bls:go_default_library",
"//crypto/bls/common:go_default_library",
"//encoding/bytesutil:go_default_library",
"//testing/bls/utils:go_default_library",
"//testing/require:go_default_library",
"@com_github_ghodss_yaml//:go_default_library",
"@com_github_supranational_blst//:go_default_library",
],
)
go_library(
name = "go_default_library",
srcs = [
"aggregate_test.yaml.go",
"aggregate_verify_test.yaml.go",
"batch_verify_test.yaml.go",
"deserialization_G1_test.yaml.go",
"deserialization_G2_test.yaml.go",
"fast_aggregate_verify_test.yaml.go",
"hash_to_G2_test.yaml.go",
"sign_test.yaml.go",
"verify_test.yaml.go",
],
importpath = "github.com/prysmaticlabs/prysm/testing/bls",
visibility = ["//visibility:public"],
)