gcc/libstdc++-v3/testsuite
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
..
17_intro P0754R2 <version> header 2018-06-18 17:42:11 +01:00
18_support P0754R2 <version> header 2018-06-18 17:42:11 +01:00
19_diagnostics Update copyright years. 2018-01-03 11:03:58 +01:00
20_util PR libstdc++/86398 fix std::is_trivially_constructible regression 2018-07-04 10:03:18 +01:00
21_strings PR libstdc++/86138 prevent implicit instantiation of COW empty rep 2018-06-22 00:29:01 +01:00
22_locale P0935R0 Eradicating unnecessarily explicit default constructors 2018-06-14 15:12:24 +01:00
23_containers Add whitespace to some dejagnu directives in libstdc++ tests 2018-06-29 10:54:07 +01:00
24_iterators safe_iterator.h (_Safe_iterator<>::_M_constant()): Rename in... 2018-05-09 20:04:46 +00:00
25_algorithms Define "random_device" effective target 2018-07-04 17:56:21 +01:00
26_numerics Define "random_device" effective target 2018-07-04 17:56:21 +01:00
27_io LWG 2989 hide path iostream operators from normal lookup 2018-06-18 19:59:44 +01:00
28_regex Optimize std::sub_match comparisons using string_view-like type 2018-07-02 21:31:11 +01:00
29_atomics Implement P0558R2 changes to std::atomic 2018-05-24 16:28:26 +01:00
30_threads PR libstdc++/84535 constrain std::thread constructor 2018-05-03 15:08:36 +01:00
abi Update copyright years. 2018-01-03 11:03:58 +01:00
backward Remove duplicate function call in test 2018-05-02 17:27:01 +01:00
config Update copyright years. 2018-01-03 11:03:58 +01:00
data
decimal Update copyright years. 2018-01-03 11:03:58 +01:00
experimental Define "random_device" effective target 2018-07-04 17:56:21 +01:00
ext P0935R0 Eradicating unnecessarily explicit default constructors 2018-06-14 14:32:53 +01:00
lib Define "random_device" effective target 2018-07-04 17:56:21 +01:00
libstdc++-abi Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-dg Update copyright years. 2018-01-03 11:03:58 +01:00
libstdc++-prettyprinters printers.py (NodeIteratorPrinter): New. 2018-03-08 06:26:15 +00:00
libstdc++-xmethods Update copyright years. 2018-01-03 11:03:58 +01:00
performance Update copyright years. 2018-01-03 11:03:58 +01:00
special_functions PR libstdc++/83140 - assoc_legendre returns negated value when m is odd 2018-05-10 13:59:52 +00:00
tr1 ...and actually resture the *new* testcase. 2018-05-11 17:38:26 +00:00
tr2 Update copyright years. 2018-01-03 11:03:58 +01:00
util Optimize std::sub_match comparisons using string_view-like type 2018-07-02 21:31:11 +01:00
Makefile.am Update copyright years. 2018-01-03 11:03:58 +01:00
Makefile.in Enable building libstdc++-v3 with Intel CET 2017-11-17 22:28:10 +01:00