mirror of https://github.com/thesofproject/sof.git
Tools: Test: Timeout src_test.m after 300k copy() iterations
This prevents testbench run freeze from src_test.m. Function test_run_src() passes to testbench option -C that limits the number iterations to 300k that corresponds to 5 min of audio. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
This commit is contained in:
parent
e627c7994f
commit
155137b878
|
@ -456,6 +456,7 @@ end
|
||||||
function test = test_run_src(test, t)
|
function test = test_run_src(test, t)
|
||||||
test.fs_in = test.fs1;
|
test.fs_in = test.fs1;
|
||||||
test.fs_out = test.fs2;
|
test.fs_out = test.fs2;
|
||||||
|
test.extra_opts = '-C 300000'; % Limit to 5 min max, assume 1 ms scheduling
|
||||||
delete_check(1, test.fn_out);
|
delete_check(1, test.fn_out);
|
||||||
test = test_run(test);
|
test = test_run(test);
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in New Issue