diff options
author | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-09-12 23:07:15 +0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2016-09-13 01:07:08 +0300 |
commit | 495c71dc136260beb27b593b75dc76b0cc4ea63c (patch) | |
tree | 6a5d2285555b55171aeab1e923460207a6a40a03 /tests | |
parent | 8e2b139f618c9f0a15f58c575624560928afea10 (diff) |
tests: Reset the rotation control before running the flip tests
The rotation control can be set to a non-default value by a previously
run test, reset it.
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tests')
-rwxr-xr-x | tests/vsp-unit-test-0012.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/vsp-unit-test-0012.sh b/tests/vsp-unit-test-0012.sh index a536ca9..afbe279 100755 --- a/tests/vsp-unit-test-0012.sh +++ b/tests/vsp-unit-test-0012.sh @@ -79,6 +79,11 @@ test_main() { } done + # Reset the rotation control to avoid interfering with the test + $(vsp1_has_feature "wpf.0[control:'Rotate']") && { + vsp1_set_control wpf.0 Rotate 0 + } + local directions=$supported_directions for direction in $directions ; do |