Insure that the tests for infinite optimization loops never goes infinitively by adding a timeout to them. Signed-off-by: Luc Van Oostenryck <luc.vanoostenryck@xxxxxxxxx> --- validation/infinite-loop02.c | 1 + validation/infinite-loop03.c | 1 + 2 files changed, 2 insertions(+) diff --git a/validation/infinite-loop02.c b/validation/infinite-loop02.c index 7d0761d87..22028473a 100644 --- a/validation/infinite-loop02.c +++ b/validation/infinite-loop02.c @@ -8,4 +8,5 @@ void foo(void) /* * check-name: infinite loop 02 * check-command: sparse -Wno-decl $file + * check-timeout: */ diff --git a/validation/infinite-loop03.c b/validation/infinite-loop03.c index ac8a9519d..7af877a83 100644 --- a/validation/infinite-loop03.c +++ b/validation/infinite-loop03.c @@ -13,4 +13,5 @@ static void foo(int *buf) /* * check-name: infinite loop 03 * check-command: sparse -Wno-decl $file + * check-timeout: */ -- 2.16.2 -- 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