# For AM_FLAG_M3264_PRI
include $(top_srcdir)/Makefile.flags.am
-noinst_SCRIPTS = filter_stderr filter_threadnums
+noinst_SCRIPTS = filter_stderr
EXTRA_DIST = $(noinst_SCRIPTS) \
bar_bad.vgtest bar_bad.stdout.exp \
sed "s/hg_intercepts.c:[0-9]*/hg_intercepts.c:.../g" |
# Change (eg) "/lib64/libpthread-2.5.so" into "/lib/libpthread..."
-sed "s/lib64/lib/g" |
-sed "s/libpthread.*so/libpthread\.\.\./g" |
+sed \
+ -e "s/lib64/lib/g" \
+ -e "s/libpthread.*so/libpthread\.\.\./g" |
# Change (eg) "pthread_create@@GLIBC_2.2.5" into "pthread_create@GLIBC"
# and (eg) "pthread_create@GLIBC_2.1" into "pthread_create@GLIBC"
# Tidy up in cases where glibc (+ libdl + libpthread + ld) have
# been built with debugging information, hence source locs are present
-sed "s/(createthread.c:[0-9]*)/(in \/lib\/libpthread...)/g" |
-sed "s/(clone.S:[0-9]*)/(in \/...libc...)/g" |
-sed "s/start_thread (pthread_create.c:[0-9]*)$/start_thread (in \/lib\/libpthread...)/g" |
+sed \
+ -e "s/(createthread.c:[0-9]*)/(in \/lib\/libpthread...)/g" \
+ -e "s/(clone.S:[0-9]*)/(in \/...libc...)/g" \
+ -e "s/start_thread (pthread_create.c:[0-9]*)$/start_thread (in \/lib\/libpthread...)/g" |
+
+# get rid of the numbers in bits of text "Thread #n", "thread #n",
+# "Thread n" and "thread n",
+# as these make some tests more scheduling sensitive -- those where
+# there are multiple threads which play interchangeable roles.
+sed \
+ -e "s/hread #[0-9][0-9]*/hread #x/g" \
+ -e "s/hread [0-9][0-9]*/hread x/g"
$dir/../../tests/filter_test_paths
+++ /dev/null
-#! /bin/sh
-
-./filter_stderr |
-
-# get rid of the numbers in bits of text "Thread #n" and "thread #n"
-# as these make some tests more scheduling sensitive -- those where
-# there are multiple threads which play interchangeable roles.
-
-sed "s/hread #[0-9]*/hread #x/"