Debug info for test_rcl_get_node_names (#133)

* Debug output for failed node_names test

* Give test nodes unique names

* Put test name in printout
This commit is contained in:
dhood 2017-05-02 10:25:48 -07:00 committed by GitHub
parent 309fa5cf0f
commit fc75c58962
11 changed files with 19 additions and 12 deletions

View file

@ -40,7 +40,7 @@ protected:
ASSERT_EQ(RCL_RET_OK, ret) << rcl_get_error_string_safe();
this->node_ptr = new rcl_node_t;
*this->node_ptr = rcl_get_zero_initialized_node();
const char * name = "node_name";
const char * name = "test_state_machine_node";
rcl_node_options_t node_options = rcl_node_get_default_options();
ret = rcl_node_init(this->node_ptr, name, "", &node_options);
ASSERT_EQ(RCL_RET_OK, ret) << rcl_get_error_string_safe();