Skip to content

Commit 65643de

Browse files
znaniyeotavio
authored andcommitted
refactor scripts
Signed-off-by: Samuel Silva <[email protected]>
1 parent 9fc3fc1 commit 65643de

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

scripts/format-code

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ basedir=$(dirname $(dirname $(readlink -f $0)))
1212

1313
cd $basedir
1414
find -type f -'(' -name "*.c" -o -name "*.h" -')' \
15-
-not -path "./build/*" \
16-
-print0 \
17-
| xargs -0 clang-format -style=file:.clang-format -i
15+
-not -path "./build/*" \
16+
-not -path "./deps/*" \
17+
-print0 |
18+
xargs -0 clang-format -style=file:.clang-format -i

scripts/run-tests

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@ if [ -z $(find -'(' -name sample.yaml -o -name testcase.yaml -')' -a -print -qui
1414
exit 0
1515
fi
1616

17-
../deps/zephyr/scripts/twister -G --testsuite-root . $@
17+
./deps/zephyr/scripts/twister -G --board-root . --testsuite-root samples/ $@

0 commit comments

Comments
 (0)