]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Added regression test for pth_once().
authorBart Van Assche <bvanassche@acm.org>
Sun, 26 Jul 2009 15:27:27 +0000 (15:27 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 26 Jul 2009 15:27:27 +0000 (15:27 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@10612

drd/tests/Makefile.am
drd/tests/pth_once.stderr.exp [new file with mode: 0644]
drd/tests/pth_once.vgtest [new file with mode: 0644]

index 0f1d759f27dfd946b540a303cca62098ddbe6c2a..bcb1eb36909cc8ba88cf484ad8230b7531c11c14 100644 (file)
@@ -124,6 +124,8 @@ EXTRA_DIST =                                        \
        pth_inconsistent_cond_wait.vgtest           \
        pth_mutex_reinit.stderr.exp                 \
        pth_mutex_reinit.vgtest                     \
+       pth_once.stderr.exp                         \
+       pth_once.vgtest                             \
        pth_process_shared_mutex.stderr.exp         \
        pth_process_shared_mutex.vgtest             \
        pth_spinlock.stderr.exp                     \
@@ -248,6 +250,7 @@ check_PROGRAMS =      \
   pth_detached_sem    \
   pth_inconsistent_cond_wait \
   pth_mutex_reinit    \
+  pth_once            \
   pth_process_shared_mutex   \
   recursive_mutex     \
   rwlock_race         \
diff --git a/drd/tests/pth_once.stderr.exp b/drd/tests/pth_once.stderr.exp
new file mode 100644 (file)
index 0000000..e1e0bbb
--- /dev/null
@@ -0,0 +1 @@
+ERROR SUMMARY: 0 errors from 0 contexts
diff --git a/drd/tests/pth_once.vgtest b/drd/tests/pth_once.vgtest
new file mode 100644 (file)
index 0000000..338b5fc
--- /dev/null
@@ -0,0 +1,5 @@
+prereq: test -e tsan_unittest && ./supported_libpthread
+vgopts: --read-var-info=yes --check-stack-var=yes
+prog: tsan_unittest
+args: 106
+stderr_filter: filter_error_summary