提交 e18ed266 authored 作者: José Luis Millán's avatar José Luis Millán

Unit test environment for worker code

fctx library is being used

https://github.com/imb/fctx
上级 54c96d42
...@@ -160,4 +160,15 @@ bool Logger::HasDebugLevel() ...@@ -160,4 +160,15 @@ bool Logger::HasDebugLevel()
MS_ABORT("failed assertion `%s': " desc, #condition, ##__VA_ARGS__); \ MS_ABORT("failed assertion `%s': " desc, #condition, ##__VA_ARGS__); \
} }
#ifdef MS_LOG_STD
#undef MS_TRACE
#define MS_TRACE MS_TRACE_STD
#undef MS_DEBUG
#define MS_DEBUG MS_DEBUG_STD
#undef MS_WARN
#define MS_WARN MS_DEBUG_STD
#undef MS_ERROR
#define MS_ERROR MS_ERROR_STD
#endif
#endif #endif
This source diff could not be displayed because it is too large. You can view the blob instead.
Markdown 格式
0% 或
您添加了 0 人 到此讨论。请谨慎行事。
请先完成此评论的编辑!
请 注册 或者 后发表评论