From: Jonathan Wakely Date: Thu, 13 Oct 2016 16:37:47 +0000 (+0100) Subject: Change test to use VERIFY not assert X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f49adbb8d8d0507e130ac2fcc709a6e7c0d29472;p=gcc.git Change test to use VERIFY not assert * testsuite/26_numerics/random/default_random_engine.cc: Use VERIFY instead of assert. From-SVN: r241128 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index f65514c3d72..111bf5241e9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2016-10-13 Jonathan Wakely + * testsuite/26_numerics/random/default_random_engine.cc: Use VERIFY + instead of assert. + * include/experiumental/functional (boyer_moore_searcher) (__boyer_moore_map_base, __boyer_moore_array_base): Qualify containers with _GLIBCXX_STD_C. diff --git a/libstdc++-v3/testsuite/26_numerics/random/default_random_engine.cc b/libstdc++-v3/testsuite/26_numerics/random/default_random_engine.cc index 99d5e1f8cab..e21c7ae3f85 100644 --- a/libstdc++-v3/testsuite/26_numerics/random/default_random_engine.cc +++ b/libstdc++-v3/testsuite/26_numerics/random/default_random_engine.cc @@ -20,7 +20,7 @@ // with this library; see the file COPYING3. If not see // . -// 26.4.5 Engines and egine adaptors with predefined parameters [rand.predef] +// 26.4.5 Engines and engine adaptors with predefined parameters [rand.predef] // 26.4.5 [10] #include @@ -38,7 +38,7 @@ test01() std::minstd_rand0 b; b.discard(9999); - assert( a() == b() ); + VERIFY( a() == b() ); } int main()