diff --git a/src/lib_ccx/ccx_encoders_splitbysentence.c b/src/lib_ccx/ccx_encoders_splitbysentence.c index 63d7e377..52e7ba91 100644 --- a/src/lib_ccx/ccx_encoders_splitbysentence.c +++ b/src/lib_ccx/ccx_encoders_splitbysentence.c @@ -2,7 +2,12 @@ #include "ccx_encoders_common.h" #include "lib_ccx.h" #include "ocr.h" -#include "debug_def.h" + +#ifdef DEBUG +#define LOG_DEBUG(...) printf(__VA_ARGS__) +#else +#define LOG_DEBUG ; +#endif #ifdef ENABLE_SHARING #include "ccx_share.h" diff --git a/src/lib_ccx/debug_def.h b/src/lib_ccx/debug_def.h deleted file mode 100644 index c8ea402b..00000000 --- a/src/lib_ccx/debug_def.h +++ /dev/null @@ -1,11 +0,0 @@ -#ifndef _DEBUG_DEF_H_ -#define _DEBUG_DEF_H_ - -#ifdef DEBUG -#define LOG_DEBUG(...) printf(__VA_ARGS__) -#else -#define LOG_DEBUG ; -#endif - - -#endif \ No newline at end of file diff --git a/tests/runtest.c b/tests/runtest.c index a9898e42..e7b58a94 100644 --- a/tests/runtest.c +++ b/tests/runtest.c @@ -14,7 +14,7 @@ int main(void) sr = srunner_create(s); srunner_set_fork_status(sr, CK_NOFORK); - srunner_run_all(sr, CK_NORMAL); + srunner_run_all(sr, CK_VERBOSE); number_failed = srunner_ntests_failed(sr); srunner_free(sr); return (number_failed == 0) ? 0 : 1;