# HG changeset patch # User Chris Cannam # Date 1483979517 0 # Node ID 1a7687631136a8b50bea17b46c13106f2a458581 # Parent 97deefd3806058537f4e9dc64340aa74f498f0ac Fix inadequate #if guard for non-gcc builds diff -r 97deefd38060 -r 1a7687631136 base/test/TestVampRealTime.h --- a/base/test/TestVampRealTime.h Mon Jan 09 13:51:39 2017 +0000 +++ b/base/test/TestVampRealTime.h Mon Jan 09 16:31:57 2017 +0000 @@ -32,7 +32,10 @@ Q_OBJECT void compareTexts(string s, const char *e) { - QCOMPARE(QString(s.c_str()), QString(e)); + cerr << "string obtained: \"" << s << "\"" << endl; + QString actual(s.c_str()); + QString expected(e); + QCOMPARE(actual, expected); } typedef Vamp::RealTime RealTime;