• R/O
  • SSH

libctools: Commit

This library contains code that extends and simplifies different operations
for C language based programs.


Commit MetaInfo

Revisión8ed2929967d537e49bb363dbf7a9d11b6ae4ecdd (tree)
Tiempo2022-10-05 10:38:13
AutorSergey Gusarov <laborer2008@gmai...>
CommiterSergey Gusarov

Log Message

test_trace_ext: Print some random integer value

Cambiar Resumen

Diferencia incremental

diff -r 33fa67930c60 -r 8ed2929967d5 tests/src/test_trace_ext.c
--- a/tests/src/test_trace_ext.c Wed Oct 05 04:32:27 2022 +0300
+++ b/tests/src/test_trace_ext.c Wed Oct 05 04:38:13 2022 +0300
@@ -26,6 +26,8 @@
2626
2727 void testCompile(void)
2828 {
29+ const int kA = 52;
30+
2931 CT_USING_CT_NAMESPACE
3032
3133 CT_TRACE_DEBUG_IF(true, "debug message");
@@ -37,7 +39,7 @@
3739 CT_TRACE_WARNING_IF(true, "warning message");
3840 CT_TRACE_WARNING_WP_IF(true, "warning message");
3941
40- CT_TRACE_ERRORN_IF(true, "error message");
42+ CT_TRACE_ERRORN_IF(true, "error message, kA = %d", kA);
4143 CT_TRACE_ERRORN_WP_IF(true, "error message");
4244
4345 CT_TRACE_ERRORC_IF(true, "error message with errno code");
Show on old repository browser