Commit Graph

10 Commits

Author SHA1 Message Date
Bart Van Assche
ca485f98eb rwlock_test: added more internal error checking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10592
2009-07-24 11:10:05 +00:00
Bart Van Assche
d3139db353 Made number of threads and number of iterations configurable. Decreased stack size allocated per thread.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10590
2009-07-24 09:34:37 +00:00
Bart Van Assche
4536c55b81 Reverted r10511.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10579
2009-07-24 06:41:08 +00:00
Bart Van Assche
56e635c29e Added result check.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10512
2009-07-21 16:51:02 +00:00
Bart Van Assche
76f381d299 Added more error checking.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10511
2009-07-21 16:35:48 +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
Nicholas Nethercote
d5dbc02648 Add a missing rwlock initialisation.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9786
2009-05-06 07:28:38 +00:00
Bart Van Assche
840f16dda7 Moved drd/tests/pth_barrier.c, drd/tests/rwlock_race.c and
drd/tests/rwlock_test.c back to their original location.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9206
2009-02-20 19:00:18 +00:00
Nicholas Nethercote
c8d150dbaa Various build system clean-ups and simplifications:
- Created Makefile.tool-tests.am, put standard AM_CFLAGS et al for tests in
  it.
- A number of tests are shared between Helgrind and DRD.  They used to be
  built in both directories.  Now they are only built in helgrind/tests/,
  and the DRD .vgtest files just point to the executable in helgrind/tests/.
  Most of these (about 30) had the source files in helgrind/tests/;  I moved
  the three that were in drd/tests/ into helgrind/tests/ for consistency.
- Fixed rwlock_test, which was failing to run due to a wrong name in the
  .vgtest file.
- Removed remnants of unused 'hello' test for Memcheck.
- Avoided redundant flag specification in various places, esp.
  memcheck/tests/Makefile.am.
- Removed unnecessary _AIX guards in some Linux-only tests.


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@9202
2009-02-19 09:52:05 +00:00
Bart Van Assche
6e368a9f37 Renamed exp-drd directory into drd. Moved drd from the experimental tool class to the class of regular tools.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8361
2008-07-04 15:14:35 +00:00