forked from enlightenment/efl
eina test - fix build with magic debug disabled
This commit is contained in:
parent
3ed1f61198
commit
96228d3c22
|
@ -25,12 +25,13 @@
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
|
|
||||||
#include <Eina.h>
|
#include <Eina.h>
|
||||||
#ifdef EINA_MAGIC_DEBUG
|
|
||||||
|
|
||||||
#include "eina_safety_checks.h"
|
#include "eina_safety_checks.h"
|
||||||
|
|
||||||
#include "eina_suite.h"
|
#include "eina_suite.h"
|
||||||
|
|
||||||
|
#ifdef EINA_MAGIC_DEBUG
|
||||||
|
|
||||||
#define EINA_MAGIC_TEST 0x7781fee7
|
#define EINA_MAGIC_TEST 0x7781fee7
|
||||||
#define EINA_MAGIC_TEST2 0x42241664
|
#define EINA_MAGIC_TEST2 0x42241664
|
||||||
#define EINA_MAGIC_STRING "Eina Magic Test"
|
#define EINA_MAGIC_STRING "Eina Magic Test"
|
||||||
|
@ -192,7 +193,7 @@ EFL_START_TEST(eina_magic_simple)
|
||||||
EFL_END_TEST
|
EFL_END_TEST
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
void eina_test_magic(TCase *tc)
|
void eina_test_magic(TCase *tc EINA_UNUSED)
|
||||||
{
|
{
|
||||||
#ifdef EINA_MAGIC_DEBUG
|
#ifdef EINA_MAGIC_DEBUG
|
||||||
tcase_add_test(tc, eina_magic_simple);
|
tcase_add_test(tc, eina_magic_simple);
|
||||||
|
|
Loading…
Reference in New Issue