[llvm-commits] [patch] Fix some tests when --disable-threads is used
dimitry at andric.com
Thu Mar 3 10:31:26 CST 2011
On 2011-03-03 16:19, Duncan Sands wrote:
>> This is because the tests attempt to acquire a mutex, and expect it to
>> fail, but all mutex functions simply return true when --disable-threads
>> is used.
> why not change the mutexes to return false, i.e. success?
Yes, that seems to be a better idea; if mutexes are unimplemented,
failure is really the only option. :) The test suite survives now.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
More information about the llvm-commits