Commit 07e4ab4a authored by alex@thinkpad's avatar alex@thinkpad
Browse files

api_test.lua: skip testing with focus step size 1

(too slow and may fail on certain lenses)

--HG--
branch : lua_fix
parent 3943fefd3db2
......@@ -1308,8 +1308,9 @@ function test_lens_focus()
printf("Focus distance: %s\n", lens.focus_distance)
printf("Focus motor position: %d\n", lens.focus_pos)
for i,step in pairs{3,2,1} do
-- step size 1 may be too slow or may fail on certain lenses
for i,step in pairs{3,2} do -- pairs{3,2,1} to run the full test
for j,wait in pairs{true,false} do
printf("Focusing forward with step size %d, wait=%s...\n", step, wait)
local steps_front = 0
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment