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 2727 "erlang_dirs" ,
2828 "maybe_install_erlang" ,
2929)
30+ load ("//transitions:beam_transition.bzl" , "beam_transition" )
3031
3132def sanitize_sname (s ):
3233 return s .replace ("@" , "-" ).replace ("." , "_" )
@@ -336,6 +337,7 @@ ct_test = rule(
336337 "compiled_suites" : attr .label_list (
337338 allow_files = [".beam" ],
338339 mandatory = True ,
340+ cfg = beam_transition ,
339341 ),
340342 "ct_hooks" : attr .string_list (),
341343 "ct_run_extra_args" : attr .string_list (),
@@ -350,6 +352,9 @@ ct_test = rule(
350352 default = "group" ,
351353 values = ["group" , "case" ],
352354 ),
355+ "_allowlist_function_transition" : attr .label (
356+ default = "@bazel_tools//tools/allowlists/function_transition_allowlist" ,
357+ ),
353358 },
354359 toolchains = ["//tools:toolchain_type" ],
355360 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