From: Mark Wielaard Date: Fri, 18 Apr 2025 10:22:29 +0000 (+0200) Subject: Add auxprogs/ltp-excludes.txt X-Git-Tag: VALGRIND_3_25_0~25 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=ca5a8e303b8bef7baccfc28ff8b46b65ceb50708;p=thirdparty%2Fvalgrind.git Add auxprogs/ltp-excludes.txt There are a couple of ltp testcases that take a very long time to run (under valgrind). Add a file auxprogs/ltp-excludes.txt that is used to exclude them from a make ltpchecks run, containing 10 tests: bind06 epoll-ltp inotify09 msgstress01 sendmsg03 setsockopt06 setsockopt07 signal05 signal06 timerfd_settime02 Excluding these 10 tests brings the execution time of make ltpchecks down to ~45 minutes. --- diff --git a/auxprogs/ltp-excludes.txt b/auxprogs/ltp-excludes.txt new file mode 100644 index 000000000..5b1d898c8 --- /dev/null +++ b/auxprogs/ltp-excludes.txt @@ -0,0 +1,10 @@ +bind06 +epoll-ltp +inotify09 +msgstress01 +sendmsg03 +setsockopt06 +setsockopt07 +signal05 +signal06 +timerfd_settime02 diff --git a/auxprogs/ltp-tester.sh b/auxprogs/ltp-tester.sh index a3c2157c5..000cfaa7f 100755 --- a/auxprogs/ltp-tester.sh +++ b/auxprogs/ltp-tester.sh @@ -26,7 +26,8 @@ myLog () cd $LTP_SRC_DIR -mapfile -t files < <(find testcases/kernel/syscalls -executable -and -type f | sort) +mapfile -t files < <(find testcases/kernel/syscalls -executable -and -type f \ + | sort | grep -v -f $ORIG_PWD/ltp-excludes.txt) c=${#files[@]}; i=0 for test in "${files[@]}"; do