summaryrefslogtreecommitdiff
path: root/test/i965_jpeg_decode_test.cpp
diff options
context:
space:
mode:
authorU. Artie Eoff <ullysses.a.eoff@intel.com>2016-09-28 13:36:01 -0700
committerSean V Kelley <seanvk@posteo.de>2016-10-03 11:30:09 -0700
commit8b876d6cd7ae8911bef38de673731556e300999f (patch)
tree4ba2f4d499bda5b84e6b87df63405602860109d5 /test/i965_jpeg_decode_test.cpp
parentfa3d1c3799c2633ff49fffb9dc6fc684e2db6565 (diff)
test: move ASSERT_NO_FAILURE macro to test.h
Both jpeg decode and encode test files use this macro. So move it to the common test.h header to avoid duplicating it. Signed-off-by: U. Artie Eoff <ullysses.a.eoff@intel.com> Reviewed-by: Sean V Kelley <seanvk@posteo.de>
Diffstat (limited to 'test/i965_jpeg_decode_test.cpp')
-rw-r--r--test/i965_jpeg_decode_test.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/test/i965_jpeg_decode_test.cpp b/test/i965_jpeg_decode_test.cpp
index b022c2e..6b84625 100644
--- a/test/i965_jpeg_decode_test.cpp
+++ b/test/i965_jpeg_decode_test.cpp
@@ -194,10 +194,6 @@ protected:
PictureData::SharedConst pd;
};
-#define ASSERT_NO_FAILURE(statement) \
- statement; \
- ASSERT_FALSE(HasFailure());
-
TEST_P(FourCCTest, Decode)
{
struct i965_driver_data *i965(*this);