Re: Rethinking the FAIL_TESTs

2014-05-26 Thread Marek Chalupa
Maan, git send-email broken. It'll take a little bit of time, but the patches will come eventually Marek On 26 May 2014 15:47, Marek Chalupa wrote: > Hi, > > When we expect a failure in test, we're using FAIL_TEST at the moment. > The FAIL_TEST will pass on any failure in the test -- but we w

Rethinking the FAIL_TESTs

2014-05-26 Thread Marek Chalupa
Hi, When we expect a failure in test, we're using FAIL_TEST at the moment. The FAIL_TEST will pass on any failure in the test -- but we want the test pass only when it fails on a particular line. Consider this code: 1 FAIL_TEST 2 { 3struct wl_display *d = wl_display_connect(); 4