Skip to content

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

Description

@AnufrievDE

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions