test cleanup
remove compile time "debug" flag from from tests. use testDiag() instead
This commit is contained in:
@@ -25,16 +25,14 @@ using namespace epics::pvData;
|
||||
using std::tr1::static_pointer_cast;
|
||||
using std::string;
|
||||
|
||||
static bool debug = false;
|
||||
|
||||
static FieldCreatePtr fieldCreate = getFieldCreate();
|
||||
static StandardFieldPtr standardField = getStandardField();
|
||||
|
||||
static void print(const string& name, FieldConstPtr const & f)
|
||||
{
|
||||
if(debug) {
|
||||
std::cout << std::endl << name << std::endl << f << std::endl;
|
||||
}
|
||||
std::ostringstream strm;
|
||||
strm << std::endl << name << std::endl << f << std::endl;
|
||||
testDiag("%s", strm.str().c_str());
|
||||
}
|
||||
|
||||
MAIN(testStandardField)
|
||||
|
||||
Reference in New Issue
Block a user