diff options
author | Henrique Nakashima <hnakashima@chromium.org> | 2017-06-27 15:52:45 -0400 |
---|---|---|
committer | Chromium commit bot <commit-bot@chromium.org> | 2017-06-27 20:39:08 +0000 |
commit | 6fac27d038697806aacdf1960e5a99eceda5ce31 (patch) | |
tree | b9b79fa6b78994468a9a5aedd4926576cca6dc10 /testing/tools/suppressor.py | |
parent | b109ac4f09528f2e3a4ef96a163625846039198f (diff) | |
download | pdfium-6fac27d038697806aacdf1960e5a99eceda5ce31.tar.xz |
Change terminology of image diff to differentiate from pixel tests.
Change-Id: I957199b63f6049a586b8de2688501f5ae3449964
Reviewed-on: https://pdfium-review.googlesource.com/7038
Reviewed-by: Nicolás Peña <npm@chromium.org>
Commit-Queue: Henrique Nakashima <hnakashima@chromium.org>
Diffstat (limited to 'testing/tools/suppressor.py')
-rwxr-xr-x | testing/tools/suppressor.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/testing/tools/suppressor.py b/testing/tools/suppressor.py index be03e21516..2b4b5d3f08 100755 --- a/testing/tools/suppressor.py +++ b/testing/tools/suppressor.py @@ -13,8 +13,9 @@ class Suppressor: self.has_v8 = "V8" in feature_vector self.has_xfa = "XFA" in feature_vector self.suppression_set = self._LoadSuppressedSet('SUPPRESSIONS', finder) - self.pixel_suppression_set = self._LoadSuppressedSet('SUPPRESSIONS_PIXEL', - finder) + self.image_suppression_set = self._LoadSuppressedSet( + 'SUPPRESSIONS_IMAGE_DIFF', + finder) def _LoadSuppressedSet(self, suppressions_filename, finder): v8_option = "v8" if self.has_v8 else "nov8" @@ -52,8 +53,8 @@ class Suppressor: return True return False - def IsPixelDiffSuppressed(self, input_filename): - if input_filename in self.pixel_suppression_set: - print "%s is pixel suppressed" % input_filename + def IsImageDiffSuppressed(self, input_filename): + if input_filename in self.image_suppression_set: + print "%s image diff comparison is suppressed" % input_filename return True return False |