From 39957b6d4d633599992e37f57522ca5a62643e67 Mon Sep 17 00:00:00 2001 From: Anton Dukhovnikov <antond@wetafx.co.nz> Date: Mon, 25 Nov 2024 16:09:41 +1300 Subject: [PATCH] feat(IBA) scale - fix tests Signed-off-by: Anton Dukhovnikov <antond@wetafx.co.nz> --- src/doc/imagebufalgo.rst | 2 +- testsuite/docs-examples-cpp/run.py | 2 +- testsuite/docs-examples-python/run.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/doc/imagebufalgo.rst b/src/doc/imagebufalgo.rst index 2ffaf311d4..c0815568f0 100644 --- a/src/doc/imagebufalgo.rst +++ b/src/doc/imagebufalgo.rst @@ -1357,7 +1357,7 @@ Image arithmetic .. code-tab:: bash oiiotool # Pixel-by-pixel multiplication of all channels of one image by the only channel of another image - oiiotol a.exr mono.exr --scale -o scale.exr + oiiotool a.exr mono.exr --scale -o scale.exr | diff --git a/testsuite/docs-examples-cpp/run.py b/testsuite/docs-examples-cpp/run.py index 452b4d33c4..ffae73e247 100755 --- a/testsuite/docs-examples-cpp/run.py +++ b/testsuite/docs-examples-cpp/run.py @@ -20,7 +20,7 @@ command += run_app("cmake -E copy " + test_source_dir + "/../common/unpremult.tif unpremult.tif") command += run_app("cmake -E copy " + test_source_dir + "/../common/bayer.png bayer.png") -command += run_app("oiiotool --pattern fill:top=0:bottom=1 256x256 1 -o mono.exr") +command += oiio_app("oiiotool") + "--pattern fill:top=0:bottom=1 256x256 1 -o mono.exr > out.txt ;" # Copy the grid to both a tiled and scanline version command += oiio_app("iconvert") + "../common/grid.tif --scanline scanline.tif > out.txt ;" diff --git a/testsuite/docs-examples-python/run.py b/testsuite/docs-examples-python/run.py index 147a2c8be6..3bab2e8957 100755 --- a/testsuite/docs-examples-python/run.py +++ b/testsuite/docs-examples-python/run.py @@ -20,7 +20,7 @@ command += run_app("cmake -E copy " + test_source_dir + "/../common/unpremult.tif unpremult.tif") command += run_app("cmake -E copy " + test_source_dir + "/../common/bayer.png bayer.png") -command += run_app("oiiotool --pattern fill:top=0:bottom=1 256x256 1 -o mono.exr") +command += oiio_app("oiiotool") + "--pattern fill:top=0:bottom=1 256x256 1 -o mono.exr > out.txt ;" # Copy the grid to both a tiled and scanline version command += oiio_app("iconvert") + "../common/grid.tif --scanline scanline.tif > out.txt ;"