51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifdef NDEBUG
+#undef NDEBUG
+#endif
+
#include "execute_tests.h"
#include "test_cases_open.h"
#include "../common/containers.h"
assert_int_not_equal(mesh, NULL);
meshlink_close(mesh);
- meshlink_destroy("open_conf");
+ assert(meshlink_destroy("open_conf"));
return true;
}
meshlink_handle_t *mesh = meshlink_open("openconf", NULL, "test", DEV_CLASS_STATIONARY);
assert_int_equal(mesh, NULL);
- meshlink_destroy("open_conf");
+ assert(meshlink_destroy("open_conf"));
return true;
}
meshlink_handle_t *mesh = meshlink_open("openconf", "foo", NULL, DEV_CLASS_STATIONARY);
assert_int_equal(mesh, NULL);
- meshlink_destroy("open_conf");
+ assert(meshlink_destroy("open_conf"));
return true;
}
meshlink_handle_t *mesh = meshlink_open("openconf", "foo", "test", -1);
assert_int_equal(mesh, NULL);
- meshlink_destroy("open_conf");
+ assert(meshlink_destroy("open_conf"));
return true;
}