tests: don't use $VERBOSE

It is used by the test suite itself, which results in this test
failing.

* tests/c++.at: Use $DEBUG, not $VERBOSE.
This commit is contained in:
Akim Demaille
2020-06-29 06:44:42 +02:00
parent 160df55c56
commit 1ae4f1d329

View File

@@ -46,7 +46,7 @@ template <typename T>
bool bool
check (const T& in, const std::string& s) check (const T& in, const std::string& s)
{ {
const static bool verbose = getenv ("VERBOSE"); const static bool verbose = getenv ("DEBUG");
std::stringstream os; std::stringstream os;
os << in; os << in;
if (os.str () == s) if (os.str () == s)