This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Why do we { dg-require-debug-mode "" } for tests not using it?
- From: Jonathan Wakely <jwakely at redhat dot com>
- To: libstdc++ at gcc dot gnu dot org
- Date: Tue, 10 Jan 2017 17:46:35 +0000
- Subject: Why do we { dg-require-debug-mode "" } for tests not using it?
- Authentication-results: sourceware.org; auth=none
We have a number of tests like
testsuite/21_strings/debug/self_move_assign_neg.cc which use:
// { dg-require-debug-mode "" }
But then they #include <debug/string> and test __gnu_debug::string
which is always available (not just in Debug Mode).
Is there some reason for this?