[Sound-open-firmware] [PATCH] topology: test: Fix tplb-build.sh when did no use XARGS

Xiuli Pan xiuli.pan at linux.intel.com
Mon Jun 4 04:43:10 CEST 2018


From: Pan Xiuli <xiuli.pan at linux.intel.com>

Miss TFILE when not using XARGS.

Signed-off-by: Pan Xiuli <xiuli.pan at linux.intel.com>
---
 topology/test/tplg-build.sh | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/topology/test/tplg-build.sh b/topology/test/tplg-build.sh
index dfdd26b..a48f1d2 100755
--- a/topology/test/tplg-build.sh
+++ b/topology/test/tplg-build.sh
@@ -91,6 +91,12 @@ function simple_test {
 				#if DAI type is SSP, define the SSP specific params
 				if [ $5 == "SSP" ]
 				then
+					if [ $i == "test-all" ]
+					then
+						TFILE="test-ssp$6-${12}-$2-$4-$7-48k-$((${11} / 1000))k-$1"
+					else
+						TFILE="$i-ssp$6-${12}-$2-$4-$7-48k-$((${11} / 1000))k-$1"
+					fi
 					echo "M4 pre-processing test $i -> ${TFILE}"
 					m4 ${M4_FLAGS} \
 						-DTEST_PIPE_NAME="$2" \
-- 
2.7.4



More information about the Sound-open-firmware mailing list