]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix ppoll_alarm exclusion on OS X. n-i-bz.
authorRhys Kidd <rhyskidd@gmail.com>
Thu, 7 Apr 2016 03:48:59 +0000 (03:48 +0000)
committerRhys Kidd <rhyskidd@gmail.com>
Thu, 7 Apr 2016 03:48:59 +0000 (03:48 +0000)
ppoll() is not POSIX, and accordingly we should ignore the lack
of support for this on OS X.

Exclude the ppoll_alarm regression test on that platform, as
introduced in r15823.

Regression test output on OS X 10.11

Before:

n/a

After:

== 602 tests, 223 stderr failures, 13 stdout failures, 0 stderrB failures, 0 stdoutB failures, 31 post failures ==

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15851

NEWS
none/tests/Makefile.am
none/tests/ppoll_alarm.vgtest

diff --git a/NEWS b/NEWS
index e5a3ca3009b0839de9e37a6c1e3ba824a1418fd7..5c721a62c4d57b1e756cf54711adab8032016408 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -94,6 +94,7 @@ where XXXXXX is the bug number as listed below.
 n-i-bz Fix incorrect (or infinite loop) unwind on RHEL7 x86 and amd64
 n-i-bz massif --pages-as-heap=yes does not report peak caused by mmap+munmap
 n-i-bz false positive leaks due to aspacemgr merging non heap segments with heap segments.
+n-i-bz Fix ppoll_alarm exclusion on OS X
 
 Release 3.11.0 (22 September 2015)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
index 5d8e942eaa9f07b9fd71fd65bbc4321cce7b80f7..0e11492e84b2ad8aadfddf1aa2b2688ea2996508 100644 (file)
@@ -217,7 +217,6 @@ check_PROGRAMS = \
        mmap_fcntl_bug \
        munmap_exe map_unaligned map_unmap mq \
        pending \
-       ppoll_alarm \
        procfs-cmdline-exe \
        pselect_alarm \
        pth_atfork1 pth_blockedsig pth_cancel1 pth_cancel2 pth_cvsimple \
@@ -251,7 +250,8 @@ endif
 
 # This doesn't appear to be compilable on Darwin.
 if ! VGCONF_OS_IS_DARWIN
-   check_PROGRAMS += rlimit64_nofile 
+   check_PROGRAMS += rlimit64_nofile \
+        ppoll_alarm
 endif
 
 # clang does not know -ansi
index b1309d334a5f4058ce6e4a1ab23b369f8f8aa68e..c08d37a2d509b84f6c6434c8623b2aae1cdfff52 100644 (file)
@@ -1,3 +1,4 @@
+prereq: ../../tests/os_test linux || ../../tests/os_test solaris
 prog: ppoll_alarm
 vgopts: -q
 stderr_filter: filter_stderr