From e1588f6cc2dc23324310994e00fd0f440ca3dd65 Mon Sep 17 00:00:00 2001 From: Gregory Nutt Date: Mon, 5 Aug 2019 09:14:30 -0600 Subject: [PATCH] tools/testbuild.sh: Fixes needed for changes to boards/ directory structure. --- tools/testbuild.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/testbuild.sh b/tools/testbuild.sh index 69eb79646e5..2e2e57de3e6 100755 --- a/tools/testbuild.sh +++ b/tools/testbuild.sh @@ -277,8 +277,10 @@ for line in $testlist; do # Parse the next line config=`echo $line | cut -d',' -f1` + boarddir=`echo $config | cut -d'/' -f1` + configdir=`echo $config | cut -d'/' -f2` - path=$nuttx/boards/$config + path=$nuttx/boards/$boarddir/configs/$configdir if [ ! -r "$path/defconfig" ]; then echo "ERROR: no configuration found at $path" showusage