11 Commits

Author SHA1 Message Date
Bart Van Assche
63b96ade4a DRD tests, Darwin: check return value of sem_open().
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11590
2011-03-05 14:49:12 +00:00
Bart Van Assche
a5ce3a89fb DRD tests: replaced __APPLE__ by VGO_darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11589
2011-03-05 14:11:40 +00:00
Bart Van Assche
a1d439d35b Made these two tests pass again on Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11117
2010-04-29 15:50:02 +00:00
Tom Hughes
302b1aad55 Include fcntl.h to get O_CREAT on Fedora 13.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11115
2010-04-29 09:36:35 +00:00
Bart Van Assche
31e293e6fd Replaced most platform-test macros by HAVE_... macros.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@11110
2010-04-29 06:28:43 +00:00
Bart Van Assche
572a6b91d5 Ported circular_buffer test to Darwin.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10568
2009-07-23 18:22:00 +00:00
Bart Van Assche
e73284e37f - Added support for most of the ANNOTATE_...() macro's supported by
ThreadSanitizer.                                                              
- Modified DRD's error reporting code such that it does no longer let           
  the Valgrind core print the Valgrind thread ID but that it now prints         
  the DRD thread ID and name. Updated expected output files where               
  necessary.                                                                    
- Modified drd/test/Makefile.am such that the tests using gcc's built-in        
  functions for atomic memory access such that these are only compiled when     
  the gcc version in use supports these built-in functions.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10186
2009-05-31 18:53:54 +00:00
Bart Van Assche
9fc7c603a3 circular_buffer test now passes on systems with and without built-in support for atomic operations.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8856
2008-12-21 17:24:21 +00:00
Bart Van Assche
a0b0f8bf1e Added command-line option -n, which allows to disable locking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8853
2008-12-21 17:19:05 +00:00
Bart Van Assche
7ee41e9982 Replaced regular increment by atomic increment.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8852
2008-12-21 17:16:03 +00:00
Bart Van Assche
8ca92c847d Added another regression test.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8837
2008-12-17 19:21:17 +00:00