Simplify dg-options for tests using pthreads
authorJonathan Wakely <jwakely@redhat.com>
Fri, 19 Aug 2016 16:36:07 +0000 (17:36 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Fri, 19 Aug 2016 16:36:07 +0000 (17:36 +0100)
commit71c54f8ea2d79dad967720b67fbeb720566b8b79
tree5c08d573ad2a2f90e803b0600643474feaf3b82c
parente6ee5bfd688c09abebddbe39beb3422163dfafd8
Simplify dg-options for tests using pthreads

* testsuite/21_strings/basic_string/pthread18185.cc: Use -pthread for
*-*-solaris* instead of -pthreads.
* testsuite/21_strings/basic_string/pthread4.cc : Likewise.
* testsuite/22_locale/locale/cons/12658_thread-1.cc: Likewise.
* testsuite/22_locale/locale/cons/12658_thread-2.cc: Likewise.
* testsuite/23_containers/list/pthread1.cc: Likewise.
* testsuite/23_containers/list/pthread5.cc: Likewise.
* testsuite/23_containers/map/pthread6.cc: Likewise.
* testsuite/27_io/basic_ofstream/pthread2.cc: Likewise.
* testsuite/27_io/basic_ostringstream/pthread3.cc: Likewise.
* testsuite/30_threads/shared_mutex/*: Likewise.
* testsuite/ext/rope/pthread7-rope.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/thread/
default_weaktoshared.cc: Likewise.
* testsuite/tr1/2_general_utilities/shared_ptr/thread/
mutex_weaktoshared.cc: Likewise.
* testsuite/20_util/shared_ptr/atomic/3.cc: Likewise. Use
dg-require-effective-target instead of using -std option.
* testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc:
Likewise.
* testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc: Likewise.
* testsuite/23_containers/vector/debug/multithreaded_swap.cc:
Likewise.
* testsuite/30_threads/async/*: Likewise.
* testsuite/30_threads/call_once/*: Likewise.
* testsuite/30_threads/condition_variable/*: Likewise.
* testsuite/30_threads/condition_variable_any/*: Likewise.
* testsuite/30_threads/future/*: Likewise.
* testsuite/30_threads/lock/*: Likewise.
* testsuite/30_threads/mutex/*: Likewise.
* testsuite/30_threads/packaged_task/*: Likewise.
* testsuite/30_threads/promise/*: Likewise.
* testsuite/30_threads/recursive_mutex/*: Likewise.
* testsuite/30_threads/recursive_timed_mutex/*: Likewise.
* testsuite/30_threads/shared_future/*: Likewise.
* testsuite/30_threads/shared_lock/*: Likewise.
* testsuite/30_threads/shared_timed_mutex/*: Likewise.
* testsuite/30_threads/this_thread/*: Likewise.
* testsuite/30_threads/thread/*: Likewise.
* testsuite/30_threads/timed_mutex/*: Likewise.
* testsuite/30_threads/try_lock/*: Likewise.
* testsuite/30_threads/unique_lock/*: Likewise.

From-SVN: r239624
208 files changed:
libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/20_util/shared_ptr/atomic/3.cc
libstdc++-v3/testsuite/20_util/shared_ptr/thread/default_weaktoshared.cc
libstdc++-v3/testsuite/20_util/shared_ptr/thread/mutex_weaktoshared.cc
libstdc++-v3/testsuite/21_strings/basic_string/pthread18185.cc
libstdc++-v3/testsuite/21_strings/basic_string/pthread4.cc
libstdc++-v3/testsuite/22_locale/locale/cons/12658_thread-1.cc
libstdc++-v3/testsuite/22_locale/locale/cons/12658_thread-2.cc
libstdc++-v3/testsuite/23_containers/list/pthread1.cc
libstdc++-v3/testsuite/23_containers/list/pthread5.cc
libstdc++-v3/testsuite/23_containers/map/pthread6.cc
libstdc++-v3/testsuite/23_containers/vector/debug/multithreaded_swap.cc
libstdc++-v3/testsuite/27_io/basic_ofstream/pthread2.cc
libstdc++-v3/testsuite/27_io/basic_ostringstream/pthread3.cc
libstdc++-v3/testsuite/30_threads/async/42819.cc
libstdc++-v3/testsuite/30_threads/async/49668.cc
libstdc++-v3/testsuite/30_threads/async/54297.cc
libstdc++-v3/testsuite/30_threads/async/any.cc
libstdc++-v3/testsuite/30_threads/async/async.cc
libstdc++-v3/testsuite/30_threads/async/except.cc
libstdc++-v3/testsuite/30_threads/async/forced_unwind.cc
libstdc++-v3/testsuite/30_threads/async/launch.cc
libstdc++-v3/testsuite/30_threads/async/lwg2021.cc
libstdc++-v3/testsuite/30_threads/async/sync.cc
libstdc++-v3/testsuite/30_threads/call_once/39909.cc
libstdc++-v3/testsuite/30_threads/call_once/49668.cc
libstdc++-v3/testsuite/30_threads/call_once/60497.cc
libstdc++-v3/testsuite/30_threads/call_once/call_once1.cc
libstdc++-v3/testsuite/30_threads/condition_variable/54185.cc
libstdc++-v3/testsuite/30_threads/condition_variable/cons/1.cc
libstdc++-v3/testsuite/30_threads/condition_variable/members/1.cc
libstdc++-v3/testsuite/30_threads/condition_variable/members/2.cc
libstdc++-v3/testsuite/30_threads/condition_variable/members/3.cc
libstdc++-v3/testsuite/30_threads/condition_variable/members/53841.cc
libstdc++-v3/testsuite/30_threads/condition_variable/native_handle/typesizes.cc
libstdc++-v3/testsuite/30_threads/condition_variable_any/50862.cc
libstdc++-v3/testsuite/30_threads/condition_variable_any/53830.cc
libstdc++-v3/testsuite/30_threads/condition_variable_any/cons/1.cc
libstdc++-v3/testsuite/30_threads/condition_variable_any/members/1.cc
libstdc++-v3/testsuite/30_threads/condition_variable_any/members/2.cc
libstdc++-v3/testsuite/30_threads/future/cons/move.cc
libstdc++-v3/testsuite/30_threads/future/members/45133.cc
libstdc++-v3/testsuite/30_threads/future/members/get.cc
libstdc++-v3/testsuite/30_threads/future/members/get2.cc
libstdc++-v3/testsuite/30_threads/future/members/share.cc
libstdc++-v3/testsuite/30_threads/future/members/valid.cc
libstdc++-v3/testsuite/30_threads/future/members/wait.cc
libstdc++-v3/testsuite/30_threads/future/members/wait_for.cc
libstdc++-v3/testsuite/30_threads/future/members/wait_until.cc
libstdc++-v3/testsuite/30_threads/lock/1.cc
libstdc++-v3/testsuite/30_threads/lock/2.cc
libstdc++-v3/testsuite/30_threads/lock/3.cc
libstdc++-v3/testsuite/30_threads/lock/4.cc
libstdc++-v3/testsuite/30_threads/mutex/cons/1.cc
libstdc++-v3/testsuite/30_threads/mutex/dest/destructor_locked.cc
libstdc++-v3/testsuite/30_threads/mutex/lock/1.cc
libstdc++-v3/testsuite/30_threads/mutex/native_handle/1.cc
libstdc++-v3/testsuite/30_threads/mutex/native_handle/typesizes.cc
libstdc++-v3/testsuite/30_threads/mutex/try_lock/1.cc
libstdc++-v3/testsuite/30_threads/mutex/try_lock/2.cc
libstdc++-v3/testsuite/30_threads/mutex/unlock/1.cc
libstdc++-v3/testsuite/30_threads/mutex/unlock/2.cc
libstdc++-v3/testsuite/30_threads/packaged_task/49668.cc
libstdc++-v3/testsuite/30_threads/packaged_task/60564.cc
libstdc++-v3/testsuite/30_threads/packaged_task/cons/1.cc
libstdc++-v3/testsuite/30_threads/packaged_task/cons/2.cc
libstdc++-v3/testsuite/30_threads/packaged_task/cons/3.cc
libstdc++-v3/testsuite/30_threads/packaged_task/cons/56492.cc
libstdc++-v3/testsuite/30_threads/packaged_task/cons/alloc.cc
libstdc++-v3/testsuite/30_threads/packaged_task/cons/move.cc
libstdc++-v3/testsuite/30_threads/packaged_task/cons/move_assign.cc
libstdc++-v3/testsuite/30_threads/packaged_task/forced_unwind.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/at_thread_exit.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/get_future2.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke2.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke3.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke4.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/invoke5.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/reset.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/reset2.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/swap.cc
libstdc++-v3/testsuite/30_threads/packaged_task/members/valid.cc
libstdc++-v3/testsuite/30_threads/promise/60966.cc
libstdc++-v3/testsuite/30_threads/promise/cons/1.cc
libstdc++-v3/testsuite/30_threads/promise/cons/alloc.cc
libstdc++-v3/testsuite/30_threads/promise/cons/move.cc
libstdc++-v3/testsuite/30_threads/promise/cons/move_assign.cc
libstdc++-v3/testsuite/30_threads/promise/members/at_thread_exit.cc
libstdc++-v3/testsuite/30_threads/promise/members/get_future.cc
libstdc++-v3/testsuite/30_threads/promise/members/get_future2.cc
libstdc++-v3/testsuite/30_threads/promise/members/set_exception.cc
libstdc++-v3/testsuite/30_threads/promise/members/set_exception2.cc
libstdc++-v3/testsuite/30_threads/promise/members/set_value.cc
libstdc++-v3/testsuite/30_threads/promise/members/set_value2.cc
libstdc++-v3/testsuite/30_threads/promise/members/set_value3.cc
libstdc++-v3/testsuite/30_threads/promise/members/swap.cc
libstdc++-v3/testsuite/30_threads/recursive_mutex/cons/1.cc
libstdc++-v3/testsuite/30_threads/recursive_mutex/dest/destructor_locked.cc
libstdc++-v3/testsuite/30_threads/recursive_mutex/lock/1.cc
libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/1.cc
libstdc++-v3/testsuite/30_threads/recursive_mutex/native_handle/typesizes.cc
libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/1.cc
libstdc++-v3/testsuite/30_threads/recursive_mutex/try_lock/2.cc
libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/1.cc
libstdc++-v3/testsuite/30_threads/recursive_mutex/unlock/2.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/cons/1.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/dest/destructor_locked.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/1.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/lock/2.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/1.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/native_handle/typesizes.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/1.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock/2.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/1.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/2.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_for/3.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/1.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/try_lock_until/2.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/1.cc
libstdc++-v3/testsuite/30_threads/recursive_timed_mutex/unlock/2.cc
libstdc++-v3/testsuite/30_threads/shared_future/cons/move.cc
libstdc++-v3/testsuite/30_threads/shared_future/members/45133.cc
libstdc++-v3/testsuite/30_threads/shared_future/members/get.cc
libstdc++-v3/testsuite/30_threads/shared_future/members/get2.cc
libstdc++-v3/testsuite/30_threads/shared_future/members/valid.cc
libstdc++-v3/testsuite/30_threads/shared_future/members/wait.cc
libstdc++-v3/testsuite/30_threads/shared_future/members/wait_for.cc
libstdc++-v3/testsuite/30_threads/shared_future/members/wait_until.cc
libstdc++-v3/testsuite/30_threads/shared_lock/cons/1.cc
libstdc++-v3/testsuite/30_threads/shared_lock/cons/2.cc
libstdc++-v3/testsuite/30_threads/shared_lock/cons/3.cc
libstdc++-v3/testsuite/30_threads/shared_lock/cons/4.cc
libstdc++-v3/testsuite/30_threads/shared_lock/cons/5.cc
libstdc++-v3/testsuite/30_threads/shared_lock/cons/6.cc
libstdc++-v3/testsuite/30_threads/shared_lock/locking/1.cc
libstdc++-v3/testsuite/30_threads/shared_lock/locking/2.cc
libstdc++-v3/testsuite/30_threads/shared_lock/locking/3.cc
libstdc++-v3/testsuite/30_threads/shared_lock/locking/4.cc
libstdc++-v3/testsuite/30_threads/shared_lock/modifiers/1.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/cons/1.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/1.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/try_lock/2.cc
libstdc++-v3/testsuite/30_threads/shared_mutex/unlock/1.cc
libstdc++-v3/testsuite/30_threads/shared_timed_mutex/cons/1.cc
libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/1.cc
libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/2.cc
libstdc++-v3/testsuite/30_threads/shared_timed_mutex/try_lock/3.cc
libstdc++-v3/testsuite/30_threads/shared_timed_mutex/unlock/1.cc
libstdc++-v3/testsuite/30_threads/this_thread/1.cc
libstdc++-v3/testsuite/30_threads/this_thread/2.cc
libstdc++-v3/testsuite/30_threads/this_thread/3.cc
libstdc++-v3/testsuite/30_threads/this_thread/4.cc
libstdc++-v3/testsuite/30_threads/this_thread/60421.cc
libstdc++-v3/testsuite/30_threads/thread/cons/1.cc
libstdc++-v3/testsuite/30_threads/thread/cons/2.cc
libstdc++-v3/testsuite/30_threads/thread/cons/3.cc
libstdc++-v3/testsuite/30_threads/thread/cons/4.cc
libstdc++-v3/testsuite/30_threads/thread/cons/49668.cc
libstdc++-v3/testsuite/30_threads/thread/cons/5.cc
libstdc++-v3/testsuite/30_threads/thread/cons/6.cc
libstdc++-v3/testsuite/30_threads/thread/cons/7.cc
libstdc++-v3/testsuite/30_threads/thread/cons/8.cc
libstdc++-v3/testsuite/30_threads/thread/cons/9.cc
libstdc++-v3/testsuite/30_threads/thread/cons/moveable.cc
libstdc++-v3/testsuite/30_threads/thread/members/1.cc
libstdc++-v3/testsuite/30_threads/thread/members/2.cc
libstdc++-v3/testsuite/30_threads/thread/members/3.cc
libstdc++-v3/testsuite/30_threads/thread/members/4.cc
libstdc++-v3/testsuite/30_threads/thread/members/5.cc
libstdc++-v3/testsuite/30_threads/thread/members/hardware_concurrency.cc
libstdc++-v3/testsuite/30_threads/thread/native_handle/cancel.cc
libstdc++-v3/testsuite/30_threads/thread/native_handle/typesizes.cc
libstdc++-v3/testsuite/30_threads/thread/swap/1.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/cons/1.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/dest/destructor_locked.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/lock/1.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/1.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/native_handle/typesizes.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/1.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock/2.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/1.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/2.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_for/3.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/1.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/2.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/try_lock_until/57641.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/1.cc
libstdc++-v3/testsuite/30_threads/timed_mutex/unlock/2.cc
libstdc++-v3/testsuite/30_threads/try_lock/1.cc
libstdc++-v3/testsuite/30_threads/try_lock/2.cc
libstdc++-v3/testsuite/30_threads/try_lock/3.cc
libstdc++-v3/testsuite/30_threads/try_lock/4.cc
libstdc++-v3/testsuite/30_threads/unique_lock/cons/1.cc
libstdc++-v3/testsuite/30_threads/unique_lock/cons/2.cc
libstdc++-v3/testsuite/30_threads/unique_lock/cons/3.cc
libstdc++-v3/testsuite/30_threads/unique_lock/cons/4.cc
libstdc++-v3/testsuite/30_threads/unique_lock/cons/5.cc
libstdc++-v3/testsuite/30_threads/unique_lock/cons/6.cc
libstdc++-v3/testsuite/30_threads/unique_lock/locking/1.cc
libstdc++-v3/testsuite/30_threads/unique_lock/locking/2.cc
libstdc++-v3/testsuite/30_threads/unique_lock/locking/3.cc
libstdc++-v3/testsuite/30_threads/unique_lock/locking/4.cc
libstdc++-v3/testsuite/30_threads/unique_lock/modifiers/1.cc
libstdc++-v3/testsuite/ext/rope/pthread7-rope.cc
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/thread/default_weaktoshared.cc
libstdc++-v3/testsuite/tr1/2_general_utilities/shared_ptr/thread/mutex_weaktoshared.cc