remove debug-files, increase verbosity for tests

fix maxkoryukov/ccextractor#1
This commit is contained in:
maxkoryukov 2016-12-15 21:23:16 +05:00
parent 4743eb46c1
commit 54f628f7a6
No known key found for this signature in database
GPG Key ID: 8C9376F864227472
3 changed files with 7 additions and 13 deletions

View File

@ -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"

View File

@ -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

View File

@ -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;