gcc/libstdc++-v3/testsuite/experimental
Jonathan Wakely 89bc4ab198 Define "random_device" effective target
Currently only matches targets where _GLIBCXX_USE_RANDOM_TR1 is defined,
which means /dev/random and /dev/urandom are usable.

	* testsuite/25_algorithms/make_heap/complexity.cc: Require effective
	target for std::random_device.
	* testsuite/26_numerics/random/random_device/cons/default.cc:
	Likewise.
	* testsuite/experimental/algorithm/sample-2.cc: Likewise.
	* testsuite/experimental/algorithm/shuffle.cc: Likewise.
	* testsuite/experimental/random/randint.cc: Likewise.
	* testsuite/lib/libstdc++.exp
	(check_effective_target_random_device): New proc.

From-SVN: r262415
2018-07-04 17:56:21 +01:00
..
algorithm Define "random_device" effective target 2018-07-04 17:56:21 +01:00
any Update copyright years. 2018-01-03 11:03:58 +01:00
array Update copyright years. 2018-01-03 11:03:58 +01:00
chrono Update copyright years. 2018-01-03 11:03:58 +01:00
deque Update copyright years. 2018-01-03 11:03:58 +01:00
filesystem Mark some Filesystem tests as XFAIL for mingw 2018-06-05 08:37:30 +01:00
forward_list Update copyright years. 2018-01-03 11:03:58 +01:00
functional Update copyright years. 2018-01-03 11:03:58 +01:00
iterator Update copyright years. 2018-01-03 11:03:58 +01:00
list Update copyright years. 2018-01-03 11:03:58 +01:00
map Update copyright years. 2018-01-03 11:03:58 +01:00
memory Update copyright years. 2018-01-03 11:03:58 +01:00
memory_resource PR libstdc++/70940 make pmr::resource_adaptor return aligned memory 2018-06-21 17:24:00 +01:00
numeric Update copyright years. 2018-01-03 11:03:58 +01:00
optional Update copyright years. 2018-01-03 11:03:58 +01:00
propagate_const Update copyright years. 2018-01-03 11:03:58 +01:00
random Define "random_device" effective target 2018-07-04 17:56:21 +01:00
ratio Update copyright years. 2018-01-03 11:03:58 +01:00
set Update copyright years. 2018-01-03 11:03:58 +01:00
source_location Update copyright years. 2018-01-03 11:03:58 +01:00
string Update copyright years. 2018-01-03 11:03:58 +01:00
string_view Update copyright years. 2018-01-03 11:03:58 +01:00
system_error Update copyright years. 2018-01-03 11:03:58 +01:00
tuple Update copyright years. 2018-01-03 11:03:58 +01:00
type_erased_allocator Update copyright years. 2018-01-03 11:03:58 +01:00
type_traits Update copyright years. 2018-01-03 11:03:58 +01:00
unordered_map Update copyright years. 2018-01-03 11:03:58 +01:00
unordered_set Update copyright years. 2018-01-03 11:03:58 +01:00
vector Update copyright years. 2018-01-03 11:03:58 +01:00
feat-cxx14.cc Use dg-do preprocess instead of compile for tests 2016-08-23 11:13:31 +01:00
feat-lib-fund.cc Use dg-do preprocess instead of compile for tests 2016-08-23 11:13:31 +01:00