oledb32/tests: Skip tests on older versions of the conversion library.
This commit is contained in:
parent
7045cee342
commit
f4fb963e2c
|
@ -213,6 +213,16 @@ static void test_canconvert(void)
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* Some older versions of the library don't support several conversions, we'll skip
|
||||||
|
if we have such a library */
|
||||||
|
hr = IDataConvert_CanConvert(convert, DBTYPE_EMPTY, DBTYPE_DBTIMESTAMP);
|
||||||
|
if(hr == S_FALSE)
|
||||||
|
{
|
||||||
|
win_skip("Doesn't handle DBTYPE_EMPTY -> DBTYPE_DBTIMESTAMP conversion so skipping\n");
|
||||||
|
IDataConvert_Release(convert);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
for(src_idx = 0; src_idx < sizeof(simple_convert) / sizeof(simple_convert[0]); src_idx++)
|
for(src_idx = 0; src_idx < sizeof(simple_convert) / sizeof(simple_convert[0]); src_idx++)
|
||||||
for(dst_idx = 0; dst_idx < sizeof(simple_convert) / sizeof(simple_convert[0]); dst_idx++)
|
for(dst_idx = 0; dst_idx < sizeof(simple_convert) / sizeof(simple_convert[0]); dst_idx++)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue