tools/testbuild.sh: Fixes needed for changes to boards/ directory structure.

This commit is contained in:
Gregory Nutt
2019-08-05 09:14:30 -06:00
parent 341cbb272b
commit e1588f6cc2
+3 -1
View File
@@ -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