From 5a59eca380043b3bec534be29dfc517cc6010350 Mon Sep 17 00:00:00 2001 From: Pan Xiuli Date: Mon, 4 Jun 2018 10:43:10 +0800 Subject: [PATCH] topology: test: Fix tplb-build.sh when did no use XARGS Miss TFILE when not using XARGS. Signed-off-by: Pan Xiuli --- 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 fadf7f52e..ad4d1da10 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" \