diff options
author | Nanley Chery <nanley.g.chery@intel.com> | 2017-07-21 14:45:10 -0700 |
---|---|---|
committer | Nanley Chery <nanley.g.chery@intel.com> | 2018-03-08 16:46:12 -0800 |
commit | b3caf7def39b895d2f9cc25f16ccd6e07389f393 (patch) | |
tree | f963d46d83e3d8703ee01f4e6f610bb9671ffb59 | |
parent | 6be0d12376ac45de8659f725b06c20787052ae6f (diff) |
s3tc-targeted: Execute every test case
Continuing to run the tests after one fails provides helpful information
when debugging.
Suggested-by: Ian Romanick <idr@freedesktop.org>
Signed-off-by: Nanley Chery <nanley.g.chery@intel.com>
Reviewed-by: Dylan Baker <dylan@pnwbakers.com>
-rw-r--r-- | tests/texturing/s3tc-targeted.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/texturing/s3tc-targeted.c b/tests/texturing/s3tc-targeted.c index b18bf858b..d0ff787e8 100644 --- a/tests/texturing/s3tc-targeted.c +++ b/tests/texturing/s3tc-targeted.c @@ -83,10 +83,10 @@ piglit_display(void) const uint8_t black_block[8] = { 0xFF, 0xFF, 0xFF, 0xFF, 0x03, }; const uint8_t one_third_block[8] = { 0xFF, 0xFF, 0, 0, 0x03, }; - const bool pass = TEST(RGB , black_block, 0x000F) && - TEST(RGBA, black_block, 0x0000) && - TEST(RGB , one_third_block, 0x555F) && - TEST(RGBA, one_third_block, 0x555F); + bool pass = TEST(RGB , black_block, 0x000F); + pass = TEST(RGBA, black_block, 0x0000) && pass; + pass = TEST(RGB , one_third_block, 0x555F) && pass; + pass = TEST(RGBA, one_third_block, 0x555F) && pass; return pass ? PIGLIT_PASS : PIGLIT_FAIL; } |