private.h: helper for testing escape codes on terminology's binary

This commit is contained in:
Boris Faure 2019-03-01 13:23:44 +01:00
parent 0f45747925
commit f0605c697d
1 changed files with 8 additions and 0 deletions

View File

@ -18,6 +18,14 @@
extern int terminology_starting_up;
/* Uncommenting the following enables processing of testing escape codes in
* the normal 'terminology' binary.
* This is only useful to write tests
*/
#if !defined(ENABLE_FUZZING) && !defined(ENABLE_TESTS)
//#define ENABLE_TEST_UI
#endif
#if defined(ENABLE_FUZZING) || defined(ENABLE_TESTS)
#define EINA_LOG_LEVEL_MAXIMUM (-1)
#endif