MSCMS: testing with no support for color management

Saulius Krasuckas saulius2 at ar.fi.lt
Tue Jun 28 15:11:49 CDT 2005


MSCMS tests fails on my box:

| [s2 at katleriai wine]$ wine dlls/mscms/tests/mscms_test.exe.so 2>&1 | head -n 6
| This version of Wine was compiled without support for color management
| functions. This means many color functions are empty stubs and you should
| expect your application to fail. To enable Wine to use LittleCMS for color
| management please install a liblcms development package version 1.13 or
| higher and rebuild Wine.
| http://www.littlecms.com

I want to fix this by avoiding to upgrade my liblcms and install dev-pkg.  

Would it be OK to put some #ifdef-s in some unimplemented function, let 
say EnumColorProfilesA(), and to SetLastError(ERROR_CALL_NOT_IMPLEMENTED)?

Then at the start of the test we could check this and return from the test 
when GetLastError() return ERROR_CALL_NOT_IMPLEMENTED.  Is this way OK?



More information about the wine-devel mailing list