]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Add auxprogs/ltp-excludes.txt
authorMark Wielaard <mark@klomp.org>
Fri, 18 Apr 2025 10:22:29 +0000 (12:22 +0200)
committerMark Wielaard <mark@klomp.org>
Fri, 18 Apr 2025 10:22:29 +0000 (12:22 +0200)
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.

auxprogs/ltp-excludes.txt [new file with mode: 0644]
auxprogs/ltp-tester.sh

diff --git a/auxprogs/ltp-excludes.txt b/auxprogs/ltp-excludes.txt
new file mode 100644 (file)
index 0000000..5b1d898
--- /dev/null
@@ -0,0 +1,10 @@
+bind06
+epoll-ltp
+inotify09
+msgstress01
+sendmsg03
+setsockopt06
+setsockopt07
+signal05
+signal06
+timerfd_settime02
index a3c2157c56d7cd8bf85f288c9cf4ccbb81cefd7f..000cfaa7f336f8641f464d107a363af24f607614 100755 (executable)
@@ -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