Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'tests/libs/zbxprometheus/zbx_prometheus_tojson.c')
-rw-r--r--tests/libs/zbxprometheus/zbx_prometheus_tojson.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/tests/libs/zbxprometheus/zbx_prometheus_tojson.c b/tests/libs/zbxprometheus/zbx_prometheus_tojson.c
index d8afabdcc44..722fc1c853a 100644
--- a/tests/libs/zbxprometheus/zbx_prometheus_tojson.c
+++ b/tests/libs/zbxprometheus/zbx_prometheus_tojson.c
@@ -17,9 +17,6 @@
** Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
**/
-/* Temporary printf debug output - remove it before final commit */
-#define MY_DEBUG_PRINTF
-
#include "zbxmocktest.h"
#include "zbxmockdata.h"
#include "zbxmockassert.h"
@@ -39,13 +36,6 @@ void zbx_mock_test_entry(void **state)
params = zbx_mock_get_parameter_string("in.params");
result = zbx_mock_get_parameter_string("out.result");
-#ifdef MY_DEBUG_PRINTF
- /* Add printfs for the debug in case of failed test */
- printf("MYDBG_YAML_ data: %s\n", data);
- printf("MYDBG_YAML_ params: %s\n", params);
- printf("MYDBG_YAML_ result: %s\n", result);
-#endif
-
if (SUCCEED == (ret = zbx_prometheus_to_json(data, params, &ret_output, &ret_err)))
{
/* Check result and output */