Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The easiest way to run ct_test on runtime node with rebar3_bsp #2

Open
AnufrievDE opened this issue Dec 7, 2020 · 0 comments
Open

Comments

@AnufrievDE
Copy link

Hi @robertoaloi,

I am impressed with the abbility to run ct tests on the runtime node. But I see it is not the single goal of bsp.

Found this repo, when looking for the "rebar3_erlang_ls_agent.erl" - which is default module for the "els_config_ct_run_test".

I tried to add bsp plugin, and run rebar3 bsp, but faced following crash:

=CRASH REPORT==== 7-Dec-2020::22:33:57.335286 ===
  crasher:
    initial call: rebar3_bsp_stdio:init/0
    pid: <0.1000.0>
    registered_name: []
    exception error: bad argument
      in function  binary_to_integer/1
         called as binary_to_integer(undefined)
      in call from rebar3_bsp_stdio:loop/1 (/d/repos/kribrum/spider_umbrella/apps/yandex_maps/_build/default/plugins/rebar3_bsp/src/rebar3_bsp_stdio.erl, line 23)
    ancestors: [rebar3_bsp_agent,<0.999.0>]
    message_queue_len: 0
    messages: []
    links: [<0.9.0>]
    dictionary: []
    trap_exit: false
    status: running
    heap_size: 610
    stack_size: 28
    reductions: 223
  neighbours:

I see, that plugin is not ready yet, but - maybe there is a way to achive running ct tests on the runtime node?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant