From: Bart Van Assche Date: Sun, 10 Mar 2013 13:39:57 +0000 (+0000) Subject: drd/tests/annotate_smart_pointer2: Add an expected output file X-Git-Tag: svn/VALGRIND_3_9_0~359 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a8a84e19e1fbf834da92cdf353a79477b5e66497;p=thirdparty%2Fvalgrind.git drd/tests/annotate_smart_pointer2: Add an expected output file git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13322 --- diff --git a/drd/tests/Makefile.am b/drd/tests/Makefile.am index 9a4832c3c7..149e132be6 100644 --- a/drd/tests/Makefile.am +++ b/drd/tests/Makefile.am @@ -41,6 +41,7 @@ EXTRA_DIST = \ annotate_smart_pointer.stderr.exp \ annotate_smart_pointer.vgtest \ annotate_smart_pointer2.stderr.exp \ + annotate_smart_pointer2.stderr.exp-darwin \ annotate_smart_pointer2.vgtest \ annotate_spinlock.stderr.exp \ annotate_spinlock.vgtest \ diff --git a/drd/tests/annotate_smart_pointer2.stderr.exp-darwin b/drd/tests/annotate_smart_pointer2.stderr.exp-darwin new file mode 100644 index 0000000000..54fa41e12a --- /dev/null +++ b/drd/tests/annotate_smart_pointer2.stderr.exp-darwin @@ -0,0 +1,14 @@ + +Conflicting store by thread x at 0x........ size 4 + at 0x........: counter::~counter() (annotate_smart_pointer.cpp:?) + by 0x........: smart_ptr::set(counter*, AtomicInt32*) (annotate_smart_pointer.cpp:?) + by 0x........: smart_ptr::operator=(counter*) (annotate_smart_pointer.cpp:?) + by 0x........: main (annotate_smart_pointer.cpp:?) +Address 0x........ is at offset ... from 0x......... Allocation context: + at 0x........: malloc (vg_replace_malloc.c:...) + by 0x........: operator new(unsigned long) (in /usr/lib/libstdc++.6.0.9.dylib) + by 0x........: main (annotate_smart_pointer.cpp:?) + +Done. + +ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)