4 Feb
2006
4 Feb
'06
8:26 p.m.
Meanwhile I'm surprised by something: in the ST_SUPPORTED_ATTR test the program checks the drmaa_get_next_attr_name() return code, comparing it with DRMAA_ERRNO_SUCCESS and then with DRMAA_ERRNO_INVALID_ATTRIBUTE_VALUE. If the return code is neither of these values, the test fails. I understood that the drmaa_get_next_attr_name() function was supposed to return DRMAA_ERRNO_NO_MORE_ELEMENTS when the end of the list is reached. That's what my lib does, and the therefore the test fails.
Where am I wrong ?
Nowhere. I will fix this immediately. The more interesting question is while earlier tests with other implementations didn't brought that up (Dan, Andreas ?). Thanks ! Peter.
Thanks for the help.
Matthieu Cargnelli