]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added expected output for comiler versions without support for built-in atomic operat...
authorBart Van Assche <bvanassche@acm.org>
Tue, 29 Jul 2008 12:06:57 +0000 (12:06 +0000)
committerBart Van Assche <bvanassche@acm.org>
Tue, 29 Jul 2008 12:06:57 +0000 (12:06 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@8470

drd/tests/atomic_var.stderr.exp-with-atomic-builtins [new file with mode: 0644]
drd/tests/atomic_var.stderr.exp-without-atomic-builtins [new file with mode: 0644]

diff --git a/drd/tests/atomic_var.stderr.exp-with-atomic-builtins b/drd/tests/atomic_var.stderr.exp-with-atomic-builtins
new file mode 100644 (file)
index 0000000..0772b66
--- /dev/null
@@ -0,0 +1,14 @@
+
+Start of test.
+Thread 2:
+Conflicting load by thread 2/3 at 0x........ size 4
+   at 0x........: thread_func_2 (atomic_var.c:?)
+   by 0x........: vg_thread_wrapper (drd_pthread_intercepts.c:?)
+   by 0x........: (within libpthread-?.?.so)
+   by 0x........: clone (in /...libc...)
+Location 0x........ is 0 bytes inside local var "s_y"
+declared at atomic_var.c:32, in frame #? of thread 2
+y = 1
+Test finished.
+
+ERROR SUMMARY: 1 errors from 1 contexts (suppressed: 0 from 0)
diff --git a/drd/tests/atomic_var.stderr.exp-without-atomic-builtins b/drd/tests/atomic_var.stderr.exp-without-atomic-builtins
new file mode 100644 (file)
index 0000000..77b4b70
--- /dev/null
@@ -0,0 +1,4 @@
+
+Sorry, but your compiler does not have built-in support for atomic operations.
+
+ERROR SUMMARY: 0 errors from 0 contexts (suppressed: 0 from 0)