This is the mail archive of the libstdc++@gcc.gnu.org mailing list for the libstdc++ project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Change test to use VERIFY not assert


This used to pass because <testsuite_hooks.h> included <assert.h>, but
it doesn't now. The test wasn't failing because the stdc++.h PCH
included <assert.h>, but it fails without PCH.

	* testsuite/26_numerics/random/default_random_engine.cc: Use VERIFY
	instead of assert.

Tested x86_64-linux, committed to trunk.

Attachment: patch.txt
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]