On 16 October 2015 at 01:14, Ilia Mirkin <[email protected]> wrote: > On Thu, Oct 15, 2015 at 8:07 PM, Emil Velikov <[email protected]> > wrote: >> Hi Glenn, >> >> On 16 October 2015 at 00:10, Glenn Kennard <[email protected]> wrote: [snip] >>> + subtest_pass &= test_single_layer(&testparams[n], >>> layer); >> subtest_pass = test_foo() && subtest_pass; >> >>> + } >>> + piglit_report_subtest_result(subtest_pass ? PIGLIT_PASS : >>> PIGLIT_FAIL, >>> + testparams[n].desc); >>> + pass &= subtest_pass; >> pass = subtest_pass && pass; >> >> Without these we might bail on the remaining tests, if one fails. > > Nope. && short-circuits, & doesn't. Indeed it doesn't. Not sure what I was smoking earlier.
-Emil _______________________________________________ Piglit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/piglit
