]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Enable Helgrind tests on Darwin -- only 4 of them fail on my machine.
authorNicholas Nethercote <njn@valgrind.org>
Fri, 14 Aug 2009 02:12:54 +0000 (02:12 +0000)
committerNicholas Nethercote <njn@valgrind.org>
Fri, 14 Aug 2009 02:12:54 +0000 (02:12 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10804

Makefile.am
NEWS
helgrind/tests/Makefile.am
helgrind/tests/tc20_verifywrap.vgtest
helgrind/tests/tc22_exit_w_lock.vgtest

index cdb156738b49f00010c93aae13e6610060897007..43ac061ceb0df3d9166275eb1e8e3be5cdeac559 100644 (file)
@@ -17,18 +17,10 @@ EXP_TOOLS =         exp-ptrcheck \
 
 # DDD: once all tools work on Darwin, TEST_TOOLS and TEST_EXP_TOOLS can be
 # replaced with TOOLS and EXP_TOOLS.
+TEST_TOOLS = $(TOOLS)
 if !VGCONF_OS_IS_DARWIN
-  TEST_TOOLS = $(TOOLS)
   TEST_EXP_TOOLS = $(EXP_TOOLS)
 else
-  TEST_TOOLS = memcheck \
-               cachegrind \
-               callgrind \
-               massif \
-               lackey \
-               none \
-               drd
-
   TEST_EXP_TOOLS = exp-bbv
 endif
 
diff --git a/NEWS b/NEWS
index 3b06382b9c2560c1a81587a003604f5b6647d360..2ab586ddcacc78b7ecfc44669fe38dbd1ef8de68 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -1,8 +1,8 @@
 
-Release 3.5.0 (???)
+Release 3.5.0 (XXX)
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
-* Mac OS X is now supported.  (Note that Mac OS X is often called "Darwin"
-  because that is the name of the OS core.)  
+* Valgrind now runs on Mac OS X.  (Note that Mac OS X is sometimes called
+  "Darwin" because that is the name of the OS core.)  
 
   Supported machines:
   - x86 machines are supported fairly well.
@@ -13,14 +13,9 @@ Release 3.5.0 (???)
     common.
 
   Things that don't work:
-  - Helgrind and Ptrcheck
+  - Ptrcheck
   - Objective-C garbage collection
   - --db-attach=yes
-  - Messages like the following indicate a mismatch between Valgrind's
-    memory map and the kernel. Occasional failures are expected in
-    multithreaded programs. If the failure repeats for the same address
-    range, then there may be a problem causing false errors or crashes.
-        sync check at ...: FAILED
   - If you have Rogue Amoeba's "Instant Hijack" program installed, Valgrind
     will fail with a SIGTRAP at start-up.  This is apparently Instant
     Hijack's fault.  See https://bugs.kde.org/show_bug.cgi?id=193917 for
@@ -29,6 +24,8 @@ Release 3.5.0 (???)
   Usage notes:
   - You will likely find --dsymutil=yes a useful option, as error messages may
     be imprecise without it.
+  - The Mac OS X support is new and therefore will be less robust than the
+    Linux support.  Please report any bugs you find.
 
   Many thanks to Greg Parker for developing this port over several years.
 
index d17685d321129966f71c481d07e59f2ed123978b..602ea3213ab2a0a5a3d451c156449eecbd6f72f9 100644 (file)
@@ -69,6 +69,8 @@ EXTRA_DIST = \
        tc24_nonzero_sem.vgtest tc24_nonzero_sem.stdout.exp \
                tc24_nonzero_sem.stderr.exp
 
+# XXX: tc18_semabuse uses operations that are unsupported on Darwin.  It
+# should be conditionally compiled like tc20_verifywrap is.
 check_PROGRAMS = \
        hg01_all_ok \
        hg02_deadlock \
index 7683e8a7e50be9184000738a0eaa27540ffc968e..2accc94f438991ebee58b86011bf65b2dbc626b8 100644 (file)
@@ -1,2 +1,3 @@
+prereq: test -e tc20_verifywrap
 prog: tc20_verifywrap
 vgopts: --read-var-info=yes
index 4f85dd53dd90db14749e525d0b7232fc7fb72126..2471541bab5d178f54f9ed74f5e017c6a599d403 100644 (file)
@@ -1 +1,2 @@
+prereq: test -e tc22_exit_w_lock
 prog: tc22_exit_w_lock