diff options
Diffstat (limited to 'devtools')
-rwxr-xr-x | devtools/check-git-log.sh | 7 | ||||
-rwxr-xr-x | devtools/check-symbol-change.sh | 1 | ||||
-rwxr-xr-x | devtools/checkpatches.sh | 9 | ||||
-rwxr-xr-x | devtools/test-meson-builds.sh | 2 |
4 files changed, 13 insertions, 6 deletions
diff --git a/devtools/check-git-log.sh b/devtools/check-git-log.sh index 85d67fb9..d39064f9 100755 --- a/devtools/check-git-log.sh +++ b/devtools/check-git-log.sh @@ -90,9 +90,10 @@ bad=$(echo "$headlines" | grep -E --color=always \ -e ':.*\<[hsf]w\>' \ -e ':.*\<l[234]\>' \ -e ':.*\<api\>' \ - -e ':.*\<arm\>' \ - -e ':.*\<armv7\>' \ - -e ':.*\<armv8\>' \ + -e ':.*\<ARM\>' \ + -e ':.*\<(Aarch64|AArch64|AARCH64|Aarch32|AArch32|AARCH32)\>' \ + -e ':.*\<(Armv7|ARMv7|ArmV7|armV7|ARMV7)\>' \ + -e ':.*\<(Armv8|ARMv8|ArmV8|armV8|ARMV8)\>' \ -e ':.*\<crc\>' \ -e ':.*\<dma\>' \ -e ':.*\<eeprom\>' \ diff --git a/devtools/check-symbol-change.sh b/devtools/check-symbol-change.sh index 1d21e916..8f986a5d 100755 --- a/devtools/check-symbol-change.sh +++ b/devtools/check-symbol-change.sh @@ -31,6 +31,7 @@ build_map_changes() # Triggering this rule sets in_sec to 1, which actives the # symbol rule below /^.*{/ { + gsub("+", ""); if (in_map == 1) { sec=$(NF-1); in_sec=1; } diff --git a/devtools/checkpatches.sh b/devtools/checkpatches.sh index ee8debec..3b03b7ef 100755 --- a/devtools/checkpatches.sh +++ b/devtools/checkpatches.sh @@ -44,6 +44,8 @@ print_usage () { } check_forbidden_additions() { # <patch> + res=0 + # refrain from new additions of rte_panic() and rte_exit() # multiple folders and expressions are separated by spaces awk -v FOLDERS="lib drivers" \ @@ -51,7 +53,8 @@ check_forbidden_additions() { # <patch> -v RET_ON_FAIL=1 \ -v MESSAGE='Using rte_panic/rte_exit' \ -f $(dirname $(readlink -e $0))/check-forbidden-tokens.awk \ - "$1" + "$1" || res=1 + # svg figures must be included with wildcard extension # because of png conversion for pdf docs awk -v FOLDERS='doc' \ @@ -59,7 +62,9 @@ check_forbidden_additions() { # <patch> -v RET_ON_FAIL=1 \ -v MESSAGE='Using explicit .svg extension instead of .*' \ -f $(dirname $(readlink -e $0))/check-forbidden-tokens.awk \ - "$1" + "$1" || res = 1 + + return $res } number=0 diff --git a/devtools/test-meson-builds.sh b/devtools/test-meson-builds.sh index 79109b75..3edc805f 100755 --- a/devtools/test-meson-builds.sh +++ b/devtools/test-meson-builds.sh @@ -24,7 +24,7 @@ build () # <directory> <meson options> { builddir=$1 shift - if [ ! -d "$builddir" ] ; then + if [ ! -f "$builddir/build.ninja" ] ; then options="--werror -Dexamples=all $*" echo "$MESON $options $srcdir $builddir" $MESON $options $srcdir $builddir |