Skip to content

Commit 38ec2da

Browse files
committed
Tools: Testbench: Increase copies timeout value
The testbench quits after three file module copies without data written. The value is too low for components those accumulate more than one LL period of data before producing output or can't output at every copy. The value 10 should better ensure that testbench run is not ended too early. Currently testbench lacks the DP scheduler so, so the modules those are designed for DP can be run with this workaround. Signed-off-by: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
1 parent 4e438f3 commit 38ec2da

File tree

1 file changed

+2
-2
lines changed
  • tools/testbench/include/testbench

1 file changed

+2
-2
lines changed

tools/testbench/include/testbench/file.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
/* SPDX-License-Identifier: BSD-3-Clause
22
*
3-
* Copyright(c) 2018 Intel Corporation. All rights reserved.
3+
* Copyright(c) 2018-2026 Intel Corporation.
44
*
55
* Author: Seppo Ingalsuo <seppo.ingalsuo@linux.intel.com>
66
* Liam Girdwood <liam.r.girdwood@linux.intel.com>
@@ -13,7 +13,7 @@
1313

1414
#include <stdint.h>
1515

16-
#define FILE_MAX_COPIES_TIMEOUT 3
16+
#define FILE_MAX_COPIES_TIMEOUT 10
1717

1818
/**< Convert with right shift a bytes count to samples count */
1919
#define FILE_BYTES_TO_S16_SAMPLES(s) ((s) >> 1)

0 commit comments

Comments
 (0)