summaryrefslogtreecommitdiff
path: root/tests/vsp-unit-test-0007.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tests/vsp-unit-test-0007.sh')
-rwxr-xr-xtests/vsp-unit-test-0007.sh11
1 files changed, 7 insertions, 4 deletions
diff --git a/tests/vsp-unit-test-0007.sh b/tests/vsp-unit-test-0007.sh
index 3f769ab..3e96513 100755
--- a/tests/vsp-unit-test-0007.sh
+++ b/tests/vsp-unit-test-0007.sh
@@ -10,26 +10,29 @@ features="rpf.0 rpf.1 bru wpf.0"
formats="RGB24 YUV444M"
test_bru() {
- format=$1
- ninputs=$2
+ local format=$1
+ local ninputs=$2
test_start "BRU in $format with $ninputs inputs"
pipe_configure rpf-bru $ninputs
format_configure rpf-bru $format 1024x768 $ninputs
+ local input
for input in `seq 0 1 $((ninputs-1))` ; do
vsp_runner rpf.$input &
done
vsp_runner wpf.0
- result=$(compare_frames)
+ local result=$(compare_frames)
test_complete $result
}
test_main() {
- max_inputs=$(vsp1_count_bru_inputs)
+ local max_inputs=$(vsp1_count_bru_inputs)
+ local format
+ local ninputs
for format in $formats ; do
for ninputs in `seq $max_inputs` ; do