]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Illumos regtest: one filter and one pre script fix
authorPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 4 Apr 2025 20:00:38 +0000 (22:00 +0200)
committerPaul Floyd <pjfloyd@wanadoo.fr>
Fri, 4 Apr 2025 20:00:38 +0000 (22:00 +0200)
filter a change for the bottom of thread stacks and
add use the same pre check as Linux for DRD OpenMP tests.

drd/tests/run_openmp_test
tests/filter_libc

index e09b54346791c15fda2793009cbc33dda4ae2f80..e9786254005207f68d27e52559942f909308db2f 100755 (executable)
@@ -13,7 +13,7 @@ if /usr/bin/file "$1" | grep -q 'statically linked'; then
   exit 1
 fi
 
-if [ "$(uname)" = Linux ]; then
+if [ "$(uname)" = Linux -o "$(uname)" = SunOS ]; then
 
   # Let the dynamic linker/loader print the path of libgomp. See also man ld.so
   libgomp_path="$(LD_TRACE_LOADED_OBJECTS=1 "$1" \
index d3c875d90fe7b9ce2e4842b70f99e17441d03df8..a99b11f405d6c4971863c99e601e50ef153609f0 100755 (executable)
@@ -28,6 +28,7 @@ while (<>)
 
     # on Illumos
     s#_start_crt \(in .*#(below main)#;
+    s#start_thread#(within libpthread-?.?.so)#;
 
     # filter out the exact libc-start.c:### line number. (ppc64*)
     s/\(libc-start.c:[0-9]*\)$/(in \/...libc...)/;