2019-06-25 16:57:47 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
testonly = True,
|
|
|
|
srcs = [
|
|
|
|
"aggregate_pubkeys_test.yaml.go",
|
|
|
|
"aggregate_sigs_test.yaml.go",
|
2019-09-08 19:41:52 +00:00
|
|
|
"msg_hash_compressed_test.yaml.go",
|
|
|
|
"msg_hash_uncompressed_test.yaml.go",
|
2019-06-25 16:57:47 +00:00
|
|
|
"priv_to_pub_test.yaml.go",
|
2019-09-08 19:41:52 +00:00
|
|
|
"sign_msg_test.yaml.go",
|
2019-06-25 16:57:47 +00:00
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/bls/spectest",
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2019-06-30 16:00:22 +00:00
|
|
|
size = "small",
|
2019-06-25 16:57:47 +00:00
|
|
|
srcs = [
|
|
|
|
"aggregate_pubkeys_test.go",
|
|
|
|
"aggregate_sigs_test.go",
|
2019-09-08 19:41:52 +00:00
|
|
|
"msg_hash_compressed_test.go",
|
|
|
|
"msg_hash_uncompressed_test.go",
|
2019-06-25 16:57:47 +00:00
|
|
|
"priv_to_pub_test.go",
|
2019-09-08 19:41:52 +00:00
|
|
|
"sign_msg_test.go",
|
|
|
|
],
|
|
|
|
data = [
|
|
|
|
"@eth2_spec_tests_general//:test_data",
|
2019-06-25 16:57:47 +00:00
|
|
|
],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
tags = ["spectest"],
|
|
|
|
deps = [
|
|
|
|
"//shared/bls:go_default_library",
|
|
|
|
"//shared/bytesutil:go_default_library",
|
2019-09-08 19:41:52 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
2019-06-25 16:57:47 +00:00
|
|
|
"@com_github_ghodss_yaml//:go_default_library",
|
2019-12-03 20:29:05 +00:00
|
|
|
"@com_github_herumi_bls_eth_go_binary//bls:go_default_library",
|
2019-06-25 16:57:47 +00:00
|
|
|
],
|
|
|
|
)
|