|
From: <sv...@va...> - 2009-07-22 19:04:31
|
Author: bart Date: 2009-07-22 20:04:23 +0100 (Wed, 22 Jul 2009) New Revision: 10530 Log: Added an output variant. Added: trunk/drd/tests/recursive_mutex.stderr.exp-darwin trunk/drd/tests/recursive_mutex.stderr.exp-linux Removed: trunk/drd/tests/recursive_mutex.stderr.exp Modified: trunk/drd/tests/Makefile.am Modified: trunk/drd/tests/Makefile.am =================================================================== --- trunk/drd/tests/Makefile.am 2009-07-22 19:03:46 UTC (rev 10529) +++ trunk/drd/tests/Makefile.am 2009-07-22 19:04:23 UTC (rev 10530) @@ -134,7 +134,8 @@ qt4_rwlock.vgtest \ qt4_semaphore.stderr.exp \ qt4_semaphore.vgtest \ - recursive_mutex.stderr.exp \ + recursive_mutex.stderr.exp-linux \ + recursive_mutex.stderr.exp-darwin \ recursive_mutex.vgtest \ rwlock_race.stderr.exp \ rwlock_race.stderr.exp2 \ Deleted: trunk/drd/tests/recursive_mutex.stderr.exp =================================================================== --- trunk/drd/tests/recursive_mutex.stderr.exp 2009-07-22 19:03:46 UTC (rev 10529) +++ trunk/drd/tests/recursive_mutex.stderr.exp 2009-07-22 19:04:23 UTC (rev 10530) @@ -1,31 +0,0 @@ - -Recursive mutex (statically initialized). - -Recursive mutex (initialized via mutex attributes). - -Error checking mutex. -second lock call failed ! -Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: lock_twice (recursive_mutex.c:?) - by 0x........: main (recursive_mutex.c:?) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) - by 0x........: main (recursive_mutex.c:?) -second unlock call failed ! - -Non-recursive mutex. -second lock call failed ! - -Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. - at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) - by 0x........: lock_twice (recursive_mutex.c:?) - by 0x........: main (recursive_mutex.c:?) -mutex 0x........ was first observed at: - at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) - by 0x........: lock_twice (recursive_mutex.c:?) - by 0x........: main (recursive_mutex.c:?) - -Done. - -ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) Added: trunk/drd/tests/recursive_mutex.stderr.exp-darwin =================================================================== --- trunk/drd/tests/recursive_mutex.stderr.exp-darwin (rev 0) +++ trunk/drd/tests/recursive_mutex.stderr.exp-darwin 2009-07-22 19:04:23 UTC (rev 10530) @@ -0,0 +1,16 @@ + + +Non-recursive mutex. +second lock call failed ! +Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: lock_twice (recursive_mutex.c:?) + by 0x........: main (recursive_mutex.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) + by 0x........: lock_twice (recursive_mutex.c:?) + by 0x........: main (recursive_mutex.c:?) + +Done. + +ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0) Copied: trunk/drd/tests/recursive_mutex.stderr.exp-linux (from rev 10527, trunk/drd/tests/recursive_mutex.stderr.exp) =================================================================== --- trunk/drd/tests/recursive_mutex.stderr.exp-linux (rev 0) +++ trunk/drd/tests/recursive_mutex.stderr.exp-linux 2009-07-22 19:04:23 UTC (rev 10530) @@ -0,0 +1,31 @@ + +Recursive mutex (statically initialized). + +Recursive mutex (initialized via mutex attributes). + +Error checking mutex. +second lock call failed ! +Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: lock_twice (recursive_mutex.c:?) + by 0x........: main (recursive_mutex.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_init (drd_pthread_intercepts.c:?) + by 0x........: main (recursive_mutex.c:?) +second unlock call failed ! + +Non-recursive mutex. +second lock call failed ! + +Mutex not locked by calling thread: mutex 0x........, recursion count 0, owner 1. + at 0x........: pthread_mutex_unlock (drd_pthread_intercepts.c:?) + by 0x........: lock_twice (recursive_mutex.c:?) + by 0x........: main (recursive_mutex.c:?) +mutex 0x........ was first observed at: + at 0x........: pthread_mutex_trylock (drd_pthread_intercepts.c:?) + by 0x........: lock_twice (recursive_mutex.c:?) + by 0x........: main (recursive_mutex.c:?) + +Done. + +ERROR SUMMARY: 2 errors from 2 contexts (suppressed: 0 from 0) |