[llvm-commits] [patch] Fix some tests when --disable-threads is used
Dimitry Andric
dimitry at andric.com
Thu Mar 3 08:31:26 PST 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...
Name: fix-valuemaptest-disable-threads-3.diff
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110303/39cdb296/attachment.ksh>
More information about the llvm-commits
mailing list