summaryrefslogtreecommitdiff
path: root/tests
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
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')
-rwxr-xr-xtests/vsp-unit-test-0001.sh2
-rwxr-xr-xtests/vsp-unit-test-0002.sh2
-rwxr-xr-xtests/vsp-unit-test-0003.sh2
-rwxr-xr-xtests/vsp-unit-test-0004.sh2
-rwxr-xr-xtests/vsp-unit-test-0005.sh2
-rwxr-xr-xtests/vsp-unit-test-0007.sh2
-rwxr-xr-xtests/vsp-unit-test-0008.sh2
7 files changed, 7 insertions, 7 deletions
diff --git a/tests/vsp-unit-test-0001.sh b/tests/vsp-unit-test-0001.sh
index f0e41da..c5b71e1 100755
--- a/tests/vsp-unit-test-0001.sh
+++ b/tests/vsp-unit-test-0001.sh
@@ -20,7 +20,7 @@ test_wpf_packing() {
$vsp_runner $mdev input 0 ARGB32 &
$vsp_runner $mdev output 0 $format
- result=$(compare_frames exact reference $format 0)
+ result=$(compare_frames exact reference)
test_complete $result
}
diff --git a/tests/vsp-unit-test-0002.sh b/tests/vsp-unit-test-0002.sh
index 49c0d43..0b97965 100755
--- a/tests/vsp-unit-test-0002.sh
+++ b/tests/vsp-unit-test-0002.sh
@@ -20,7 +20,7 @@ test_wpf_packing() {
$vsp_runner $mdev input 0 YUYV &
$vsp_runner $mdev output 0 $format
- result=$(compare_frames fuzzy reference $format 0)
+ result=$(compare_frames fuzzy reference)
test_complete $result
}
diff --git a/tests/vsp-unit-test-0003.sh b/tests/vsp-unit-test-0003.sh
index c79cc8a..9b04b60 100755
--- a/tests/vsp-unit-test-0003.sh
+++ b/tests/vsp-unit-test-0003.sh
@@ -23,7 +23,7 @@ test_scale() {
$vsp_runner $mdev input 0 $format &
$vsp_runner $mdev output 0 $format
- result=$(compare_frames exact scaled $format 0)
+ result=$(compare_frames exact scaled)
test_complete $result
}
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
}
diff --git a/tests/vsp-unit-test-0005.sh b/tests/vsp-unit-test-0005.sh
index 2ba11bf..168ee55 100755
--- a/tests/vsp-unit-test-0005.sh
+++ b/tests/vsp-unit-test-0005.sh
@@ -21,7 +21,7 @@ test_rpf() {
$vsp_runner $mdev input $rpf $format &
$vsp_runner $mdev output 0 $format
- result=$(compare_frames exact reference $format 0)
+ result=$(compare_frames exact reference)
test_complete $result
}
diff --git a/tests/vsp-unit-test-0007.sh b/tests/vsp-unit-test-0007.sh
index 68bd838..fa45422 100755
--- a/tests/vsp-unit-test-0007.sh
+++ b/tests/vsp-unit-test-0007.sh
@@ -23,7 +23,7 @@ test_bru() {
done
$vsp_runner $mdev output 0 $format
- result=$(compare_frames fuzzy composed-$ninputs $format 0)
+ result=$(compare_frames fuzzy composed-$ninputs)
test_complete $result
}
diff --git a/tests/vsp-unit-test-0008.sh b/tests/vsp-unit-test-0008.sh
index be3db96..15379d4 100755
--- a/tests/vsp-unit-test-0008.sh
+++ b/tests/vsp-unit-test-0008.sh
@@ -30,7 +30,7 @@ test_scale() {
$vsp_runner $mdev input 0 $format &
$vsp_runner $mdev output 0 $format
- result=$(compare_frames exact scaled $format 0)
+ result=$(compare_frames exact scaled)
test_complete $result
}