Re: Allow running conformance tests in parallel

2008-07-14 Thread Dan Kegel
On Sun, Jul 13, 2008 at 9:59 PM, Scott Ritchie <[EMAIL PROTECTED]> wrote: >> About the same number of tests fail regardless of -j value. > > "About" -- shouldn't it be exactly? Yes, but our tests are flaky.

Re: Allow running conformance tests in parallel

2008-07-13 Thread Scott Ritchie
Dan Kegel wrote: > About the same number of tests fail regardless of -j value. > > How it works: > this patch adds a new function, winetest_exclusive(), > that waits until it can acquire an exclusive lock. > It should be called near the top of the START_TEST body > for any test that needs exclusiv

Allow running conformance tests in parallel

2008-07-13 Thread Dan Kegel
The attached patch lets you run Wine's conformance tests in parallel. On my relatively fast dual core machine (e7200): "make -k test" takes 3 minutes 55 seconds "make -k -j2 test" takes 2 minutes 15 seconds "make -k -j4 test" takes 1 minute 45 seconds "make -k -j10 test" takes 1 minute 27 seco