GraphicsMagick: tests/rwfile_deep.tap: Add JXL tests for deep im...

GraphicsMagick Commits <[email protected]>
Newsgroups gmane.comp.video.graphicsmagick.cvs
Message-ID <mailman.33625.1671311731.1350.graphicsmagick-commit@lists.sourceforge.net>
changeset 95b24809defc in /hg/GraphicsMagick
details: http://hg.GraphicsMagick.org/hg/GraphicsMagick?cmd=changeset;node=95b24809defc
summary: tests/rwfile_deep.tap: Add JXL tests for deep images.

diffstat:

 ChangeLog             |  2 ++
 tests/rwfile_deep.tap |  9 ++++++++-
 www/Changelog.html    |  1 +
 3 files changed, 11 insertions(+), 1 deletions(-)

diffs (48 lines):

diff -r e7b1a383576c -r 95b24809defc ChangeLog
--- a/ChangeLog	Sat Dec 17 14:54:56 2022 -0600
+++ b/ChangeLog	Sat Dec 17 15:15:19 2022 -0600
@@ -1,5 +1,7 @@
 2022-12-17  Bob Friesenhahn  <[email protected]>
 
+	* tests/rwfile_deep.tap: Add JXL tests for deep images.
+
 	* coders/jxl.c: Fix grayscale writer error.  Eliminate use of
 	deprecated functions.  Support 16-bits/sample.
 
diff -r e7b1a383576c -r 95b24809defc tests/rwfile_deep.tap
--- a/tests/rwfile_deep.tap	Sat Dec 17 14:54:56 2022 -0600
+++ b/tests/rwfile_deep.tap	Sat Dec 17 15:15:19 2022 -0600
@@ -11,7 +11,7 @@
 check_types='truecolor10 truecolor12 truecolor16'
 
 # Number of tests we plan to run
-test_plan_fn 42
+test_plan_fn 48
 
 # CIN format
 for type in ${check_types}
@@ -37,6 +37,13 @@
   test_command_fn "JP2 ${type}" -F JP2 ${MEMCHECK} ${rwfile} -filespec "out_${type}_%d" "${SRCDIR}/input_${type}.dpx" JP2
 done
 
+# JXL format
+for type in ${check_types}
+do
+  test_command_fn "JXL ${type}" -F JXL ${MEMCHECK} ${rwfile} -filespec "out_${type}_%d" "${SRCDIR}/input_${type}.dpx" JXL
+  test_command_fn "JXL ${type} (stdio)" -F JXL ${MEMCHECK} ${rwfile} -stdio -filespec "out_${type}_stdio_%d" "${SRCDIR}/input_${type}.dpx" JXL
+done
+
 # MAT format
 for type in ${check_types}
 do
diff -r e7b1a383576c -r 95b24809defc www/Changelog.html
--- a/www/Changelog.html	Sat Dec 17 14:54:56 2022 -0600
+++ b/www/Changelog.html	Sat Dec 17 15:15:19 2022 -0600
@@ -40,6 +40,7 @@
 <p>2022-12-17  Bob Friesenhahn  &lt;<a class="reference external" href="mailto:bfriesen&#37;&#52;&#48;simple&#46;dallas&#46;tx&#46;us">bfriesen<span>&#64;</span>simple<span>&#46;</span>dallas<span>&#46;</span>tx<span>&#46;</span>us</a>&gt;</p>
 <blockquote>
 <ul class="simple">
+<li><p>tests/rwfile_deep.tap: Add JXL tests for deep images.</p></li>
 <li><p>coders/jxl.c: Fix grayscale writer error.  Eliminate use of
 deprecated functions.  Support 16-bits/sample.</p></li>
 </ul>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.