test failures can be ignored for certain tests (specified in CPPUNIT_IGNORE environment variable)

This commit is contained in:
Guenter Obiltschnig
2014-01-16 18:07:03 +01:00
parent 0cf0469596
commit 16885da987
2 changed files with 44 additions and 5 deletions

View File

@@ -11,6 +11,7 @@
#include "CppUnit/CppUnit.h"
#include "CppUnit/TestResult.h"
#include <set>
#include <ostream>
@@ -33,9 +34,11 @@ public:
protected:
std::string shortName(const std::string& testName);
void setup();
private:
std::ostream& _ostr;
std::set<std::string> _ignored;
};