From: Mark W. <ma...@so...> - 2025-04-18 10:36:51
|
https://sourceware.org/git/gitweb.cgi?p=valgrind.git;h=ca5a8e303b8bef7baccfc28ff8b46b65ceb50708 commit ca5a8e303b8bef7baccfc28ff8b46b65ceb50708 Author: Mark Wielaard <ma...@kl...> Date: Fri Apr 18 12:22:29 2025 +0200 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: --- auxprogs/ltp-excludes.txt | 10 ++++++++++ auxprogs/ltp-tester.sh | 3 ++- 2 files changed, 12 insertions(+), 1 deletion(-) diff --git a/auxprogs/ltp-excludes.txt b/auxprogs/ltp-excludes.txt new file mode 100644 index 0000000000..5b1d898c80 --- /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 a3c2157c56..000cfaa7f3 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 |