Making a typo in one of the 'check-...' tags can make a testcase useless and thus incapable of detecting a regression. Add some validation to these tags in order to detect wrong tags. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- validation/test-suite | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/validation/test-suite b/validation/test-suite index 6a939846f..d50a3bfa2 100755 --- a/validation/test-suite +++ b/validation/test-suite @@ -108,6 +108,18 @@ get_tag_value() check_arch_ignore="$val" ;; check-arch-only:) arch=$(uname -m) check_arch_only="$val" ;; + + check-description:) ;; # ignore + check-note:) ;; # ignore + check-warning:) ;; # ignore + check-error-start) ;; # ignore + check-error-end) ;; # ignore + check-output-start) ;; # ignore + check-output-end) ;; # ignore + check-should-pass) ;; # ignore, unused annotation + check-should-fail) ;; # ignore, unused annotation + check-should-warn) ;; # ignore, unused annotation + check-*) error "$1: unknown tag '$tag'" 1 ;; esac done << EOT $lines -- 2.15.0 -- To unsubscribe from this list: send the line "unsubscribe linux-sparse" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html