]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
drd/tests/annotate_smart_pointer2: Add an expected output file
authorBart Van Assche <bvanassche@acm.org>
Sun, 10 Mar 2013 13:39:57 +0000 (13:39 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 10 Mar 2013 13:39:57 +0000 (13:39 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13322

drd/tests/Makefile.am
drd/tests/annotate_smart_pointer2.stderr.exp-darwin [new file with mode: 0644]

index 9a4832c3c7f9a67743063459ef1003ba2f7e2cb1..149e132be6a485f3cdc7ee3e400aaf4a75026b41 100644 (file)
@@ -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 (file)
index 0000000..54fa41e
--- /dev/null
@@ -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<counter>::set(counter*, AtomicInt32*) (annotate_smart_pointer.cpp:?)
+   by 0x........: smart_ptr<counter>::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)