File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -475,6 +475,9 @@ cc_library(
475475ml_metadata_cc_test (
476476 name = "metadata_store_cc_test" ,
477477 srcs = ["metadata_store_test.cc" ],
478+ env = {
479+ "ASAN_OPTIONS" : "detect_odr_violation=0" ,
480+ },
478481 deps = [
479482 ":metadata_store" ,
480483 ":metadata_store_test_suite" ,
@@ -549,6 +552,9 @@ cc_library(
549552ml_metadata_cc_test (
550553 name = "metadata_store_factory_test" ,
551554 srcs = ["metadata_store_factory_test.cc" ],
555+ env = {
556+ "ASAN_OPTIONS" : "detect_odr_violation=0" ,
557+ },
552558 deps = [
553559 ":metadata_access_object_factory" ,
554560 ":metadata_store" ,
@@ -898,6 +904,9 @@ cc_test(
898904# list.
899905cc_test (
900906 name = "standalone_postgresql_metadata_access_object_test" ,
907+ env = {
908+ "ASAN_OPTIONS" : "detect_odr_violation=0" ,
909+ },
901910 tags = [
902911 "local" ,
903912 "manual" ,
Original file line number Diff line number Diff line change 1515This module contains build rules for ml_metadata in OSS.
1616"""
1717
18- load ("@com_google_protobuf//:protobuf.bzl" , "cc_proto_library" , "py_proto_library" )
1918load ("@io_bazel_rules_go//go:def.bzl" , "go_library" , "go_test" )
2019load ("@io_bazel_rules_go//proto:def.bzl" , "go_proto_library" )
20+ load ("@com_google_protobuf//:protobuf.bzl" , "cc_proto_library" , "py_proto_library" )
2121
2222def ml_metadata_cc_test (
2323 name ,
2424 srcs = [],
2525 deps = [],
26+ env = {},
2627 tags = [],
2728 args = [],
2829 size = None ,
@@ -32,6 +33,7 @@ def ml_metadata_cc_test(
3233 name = name ,
3334 srcs = srcs ,
3435 deps = deps ,
36+ env = env ,
3537 tags = tags ,
3638 args = args ,
3739 size = size ,
You can’t perform that action at this time.
0 commit comments