summaryrefslogtreecommitdiff
path: root/tests/vsp-unit-test-0004.sh
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-06-16 22:30:12 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-06-19 15:26:01 +0300
commit2db264d5453536301fb81a8427df89843210e770 (patch)
tree87c447bee402804f5ff7def518d9a306bdfbde7f /tests/vsp-unit-test-0004.sh
parent7aa5142f82e87fa25fd3652ea74e416e02a185f5 (diff)
vsp-lib: Don't pass WPF index and format to comparison functions
The information is already known to the pipeline configuration functions, store it internally and reuse it instead of having to pass it explicitly. Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tests/vsp-unit-test-0004.sh')
-rwxr-xr-xtests/vsp-unit-test-0004.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/vsp-unit-test-0004.sh b/tests/vsp-unit-test-0004.sh
index fd49af1..12a2545 100755
--- a/tests/vsp-unit-test-0004.sh
+++ b/tests/vsp-unit-test-0004.sh
@@ -21,7 +21,7 @@ test_histogram() {
$vsp_runner $mdev input 0 $format &
$vsp_runner $mdev output 0 $format
- result=$(compare_histograms $format 0)
+ result=$(compare_histograms)
test_complete $result
}