Re: [Mesa-dev] [RFC PATCH 01/14] anv/tests: Fix block_pool_no_free test.

2018-12-10 Thread Jason Ekstrand
On Fri, Dec 7, 2018 at 6:06 PM Rafael Antognolli < rafael.antogno...@intel.com> wrote: > The test was checking whether -1 was smaller than an unsigned int, which > is always false. So it was exiting early and never running until the > end, since it would reach the condition (thread_max == -1). >

[Mesa-dev] [RFC PATCH 01/14] anv/tests: Fix block_pool_no_free test.

2018-12-07 Thread Rafael Antognolli
The test was checking whether -1 was smaller than an unsigned int, which is always false. So it was exiting early and never running until the end, since it would reach the condition (thread_max == -1). However, just fixing that is not enough. The test is currently getting the highest block on