summaryrefslogtreecommitdiff
path: root/tests/vsp-unit-test-0004.sh
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-06-18 02:23:36 +0300
committerLaurent Pinchart <laurent.pinchart@ideasonboard.com>2016-06-20 02:29:33 +0300
commit306c53b308c2ff7b6344b413332bf7ea040e852a (patch)
treeb261f44ae828d5651c9fde114cf379d5333e8799 /tests/vsp-unit-test-0004.sh
parent6b5959c04c5afebded4471430fa7eceac81c1183 (diff)
vsp-lib: Replace vsp-runner script with a function from vsp-lib
This allows reusing variables internal to vsp-lib and getting rid of the mdev and format arguments to the vsp-runner invocations. As part of the transition, handle additional options with an explicit list of supported options instead of passing them straight to yavta. 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.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/vsp-unit-test-0004.sh b/tests/vsp-unit-test-0004.sh
index f3a6811..396e053 100755
--- a/tests/vsp-unit-test-0004.sh
+++ b/tests/vsp-unit-test-0004.sh
@@ -16,9 +16,9 @@ test_histogram() {
pipe_configure rpf-hgo
format_configure rpf-hgo $format 1024x768
- $vsp_runner $mdev hgo &
- $vsp_runner $mdev input 0 $format &
- $vsp_runner $mdev output 0 $format
+ vsp_runner hgo &
+ vsp_runner rpf.0 &
+ vsp_runner wpf.0
result=$(compare_histograms)