File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 5
5
"erlang_app" ,
6
6
"test_erlang_app" ,
7
7
)
8
- load ("@rules_erlang//:ct_sharded.bzl" , "ct_suite" , "ct_suite_variant" )
8
+ load (
9
+ "@rules_erlang//:ct_sharded.bzl" ,
10
+ "ct_suite" ,
11
+ "ct_suite_variant" ,
12
+ _assert_suites = "assert_suites" ,
13
+ )
9
14
load ("//:rabbitmq_home.bzl" , "rabbitmq_home" )
10
15
load ("//:rabbitmq_run.bzl" , "rabbitmq_run" )
11
16
@@ -248,7 +253,4 @@ def rabbitmq_integration_suite(
248
253
return name
249
254
250
255
def assert_suites (suite_names , suite_files ):
251
- for f in suite_files :
252
- sn = f .rpartition ("/" )[- 1 ].replace (".erl" , "" )
253
- if not sn in suite_names :
254
- fail ("A bazel rule has not been defined for {} (expected {} in {}" .format (f , sn , suite_names ))
256
+ _assert_suites (suite_names , suite_files )
You can’t perform that action at this time.
0 commit comments