mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +08:00
tools/testbuild.sh: Fixes needed for changes to boards/ directory structure.
This commit is contained in:
+3
-1
@@ -277,8 +277,10 @@ for line in $testlist; do
|
|||||||
# Parse the next line
|
# Parse the next line
|
||||||
|
|
||||||
config=`echo $line | cut -d',' -f1`
|
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
|
if [ ! -r "$path/defconfig" ]; then
|
||||||
echo "ERROR: no configuration found at $path"
|
echo "ERROR: no configuration found at $path"
|
||||||
showusage
|
showusage
|
||||||
|
|||||||
Reference in New Issue
Block a user