|
From: <sv...@va...> - 2014-08-28 14:59:15
|
Author: mjw
Date: Thu Aug 28 14:59:08 2014
New Revision: 14375
Log:
Handle ENOSYS instread of EINVAL for some helgrind tests.
Some arches (s390x and ppc64) return ENOSYS instead of EINVAL for
undefined futex operations. Adjust the helgrind filter_stderr to
handle that case.
Modified:
trunk/helgrind/tests/filter_stderr
Modified: trunk/helgrind/tests/filter_stderr
==============================================================================
--- trunk/helgrind/tests/filter_stderr (original)
+++ trunk/helgrind/tests/filter_stderr Thu Aug 28 14:59:08 2014
@@ -36,6 +36,9 @@
-e "/^the cost of reduced accuracy of conflicting-access information$/d" \
-e "/pthread_create_WRK (hg_intercepts.c:/d" |
+# Some arches return ENOSYS instead of EINVAL for undefined futex operations.
+sed -e "s/with error code 38 (ENOSYS: Function not implemented)/with error code 22 (EINVAL: Invalid argument)/" |
+
$dir/../../helgrind/tests/filter_helgrind "$@"
exit 0
|