File tree Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Expand file tree Collapse file tree 2 files changed +10
-0
lines changed Original file line number Diff line number Diff line change 2323 "erlang_dirs" ,
2424 "maybe_install_erlang" ,
2525)
26+ load ("//transitions:beam_transition.bzl" , "beam_transition" )
2627
2728def sanitize_sname (s ):
2829 return s .replace ("@" , "-" ).replace ("." , "_" )
@@ -289,6 +290,7 @@ ct_test = rule(
289290 "compiled_suites" : attr .label_list (
290291 allow_files = [".beam" ],
291292 mandatory = True ,
293+ cfg = beam_transition ,
292294 ),
293295 "ct_hooks" : attr .string_list (),
294296 "ct_run_extra_args" : attr .string_list (),
@@ -303,6 +305,9 @@ ct_test = rule(
303305 default = "group" ,
304306 values = ["group" , "case" ],
305307 ),
308+ "_allowlist_function_transition" : attr .label (
309+ default = "@bazel_tools//tools/allowlists/function_transition_allowlist" ,
310+ ),
306311 },
307312 toolchains = ["//tools:toolchain_type" ],
308313 test = True ,
Original file line number Diff line number Diff line change @@ -7,6 +7,7 @@ load("//:erlang_app_info.bzl", "ErlangAppInfo")
77load ("//:util.bzl" , "path_join" , "windows_path" )
88load (":util.bzl" , "erl_libs_contents" )
99load (":ct.bzl" , "code_paths" , "unique_short_dirnames" )
10+ load ("//transitions:beam_transition.bzl" , "beam_transition" )
1011
1112def _impl (ctx ):
1213 if ctx .attr .target == None and len (ctx .attr .beam ) == 0 :
@@ -114,6 +115,7 @@ dialyze_test = rule(
114115 ),
115116 "beam" : attr .label_list (
116117 allow_files = [".beam" ],
118+ cfg = beam_transition ,
117119 ),
118120 "target" : attr .label (
119121 providers = [ErlangAppInfo ],
@@ -129,6 +131,9 @@ dialyze_test = rule(
129131 ],
130132 ),
131133 "warnings_as_errors" : attr .bool (default = True ),
134+ "_allowlist_function_transition" : attr .label (
135+ default = "@bazel_tools//tools/allowlists/function_transition_allowlist" ,
136+ ),
132137 },
133138 toolchains = ["//tools:toolchain_type" ],
134139 test = True ,
You can’t perform that action at this time.
0 commit comments