tests: add TODO for test_core__buffer()

This commit is contained in:
Hugues Delorme 2015-09-14 11:10:42 +02:00
parent 10bf55f18f
commit a6ef1bc94e

View File

@ -40,6 +40,9 @@ const char* test_core__buffer()
UTEST_ASSERT(buff.ptr != NULL);
UTEST_ASSERT(buff.size == buff_size);
UTEST_ASSERT(memcmp(buff.ptr, &zero_buff[0], buff_size) == 0);
/* TODO: make assert succeed with mingw and GMIO_BUILD_SHARED_LIBS=ON
* In this case free() has not the same address in libgmio.dll and
* test_core.exe */
UTEST_ASSERT(buff.func_deallocate == &free);
gmio_buffer_deallocate(&buff);
}