diff options
-rw-r--r-- | deps/rabbitmq_ct_helpers/src/rabbit_ct_helpers.erl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/deps/rabbitmq_ct_helpers/src/rabbit_ct_helpers.erl b/deps/rabbitmq_ct_helpers/src/rabbit_ct_helpers.erl index 97e8b66017..12e7a158c8 100644 --- a/deps/rabbitmq_ct_helpers/src/rabbit_ct_helpers.erl +++ b/deps/rabbitmq_ct_helpers/src/rabbit_ct_helpers.erl @@ -607,8 +607,11 @@ get_selection(Config) -> symlink_priv_dir(Config) -> - case os:type() of - {win32, _} -> + case {os:type(), ?config(rabbitmq_run_cmd, Config)} of + {{win32, _}, _} -> + Config; + {_, Cmd} when Cmd =/= undefined -> + %% skip if bazel Config; _ -> SrcDir = ?config(current_srcdir, Config), |