Skip to content

Commit

Permalink
Issue #53: using lower frame rate in test launcher as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dzhoshkun committed Nov 13, 2018
1 parent 5250cb2 commit 4698daa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/tests/run-tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,12 +123,17 @@ elif [ "$1" = "blackmagic-decklinksdi4k" ] || [ "$1" = "blackmagic-decklink4kext
if [ $# -ne "2" ]; then
args_ok=false
else
if [ "$1" = "blackmagic-decklinksdi4k" ]; then
frame_rate=27
elif [ "$1" = "blackmagic-decklink4kextreme12g" ]; then
frame_rate=24
fi
parse_colour $2
test_cmd="$test_cmd --device=$test_device"
test_cmd="$test_cmd --colour-space=$test_colour_space"
test_cmd_working_dir="$test_dir/blackmagic"
test_cmd_unit="$test_cmd $test_cmd_working_dir -m unit"
test_cmd_observer="$test_cmd --frame-rate=27 --observers=3"
test_cmd_observer="$test_cmd --frame-rate=$frame_rate --observers=3"
test_cmd_observer="$test_cmd_observer $test_cmd_working_dir -m observer_pattern"
test_cmd="$test_cmd_unit && $test_cmd_observer"
fi
Expand Down

0 comments on commit 4698daa

Please sign in to comment.