Debug module only outputs full lines instead of parts
diff --git a/tests/suites/test_suite_debug.function b/tests/suites/test_suite_debug.function
index 0fe0725..3a5adaf 100644
--- a/tests/suites/test_suite_debug.function
+++ b/tests/suites/test_suite_debug.function
@@ -14,6 +14,13 @@
memcpy(buffer->ptr, str, strlen(str));
buffer->ptr += strlen(str);
+
+ /* Detect if debug messages output partial lines and mark them */
+ if( *(buffer->ptr - 1) != '\n' )
+ {
+ *buffer->ptr = '*';
+ buffer->ptr++;
+ }
}
/* END_HEADER */