Eo: Fixed the tests when building in "release mode".

Our release mode safety checks are less strict, so we have to disable some
of the test cases when testing there.

SVN revision: 70794
This commit is contained in:
Tom Hacohen 2012-05-06 12:03:16 +00:00
parent dba7e09641
commit e1021dc21e
1 changed files with 3 additions and 0 deletions

View File

@ -40,7 +40,10 @@ START_TEST(eo_data_fetch)
Eo *obj = eo_add(klass, NULL);
fail_if(!obj);
#ifndef NDEBUG
fail_if(eo_data_get(obj, SIMPLE_CLASS));
#endif
eo_unref(obj);
eo_shutdown();
}