From c2312c3a251baca04a8c98f45c090f4bd9bbe039 Mon Sep 17 00:00:00 2001 From: Gordon Williams Date: Thu, 25 Apr 2024 11:46:54 +0100 Subject: [PATCH] ignore tests in /manual/ --- targets/linux/main.c | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/targets/linux/main.c b/targets/linux/main.c index ded994855..0cdbbdb5f 100644 --- a/targets/linux/main.c +++ b/targets/linux/main.c @@ -259,10 +259,12 @@ bool run_test_list(struct filelist *fl) { } filelist_foreach(fl, fn) { - if (run_test(fn)) - passed++; - else { - filelist_add(&fails, fn); + if (!strstr(fn, "/manual/")) { // ignore anything in the 'manual' subfolder + if (run_test(fn)) + passed++; + else { + filelist_add(&fails, fn); + } } }