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_getmetric.c')
-rw-r--r--tests/libs/zbxprometheus/zbx_prometheus_getmetric.c11
1 files changed, 0 insertions, 11 deletions
diff --git a/tests/libs/zbxprometheus/zbx_prometheus_getmetric.c b/tests/libs/zbxprometheus/zbx_prometheus_getmetric.c
index 333a2234f0f..b6cf224408e 100644
--- a/tests/libs/zbxprometheus/zbx_prometheus_getmetric.c
+++ b/tests/libs/zbxprometheus/zbx_prometheus_getmetric.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"
@@ -40,14 +37,6 @@ void zbx_mock_test_entry(void **state)
value_type = zbx_mock_get_parameter_string("in.value_type");
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_ value_type: %s\n", value_type);
- printf("MYDBG_YAML_ result: %s\n", result);
-#endif
-
if (SUCCEED == (ret = zbx_prometheus_pattern(data, params, value_type, &ret_output, &ret_err)))
{
/* Check result and output */