void nss_DumpModuleLog(void) { #ifdef DEBUG_MODULE if (modToDBG) { print_final_statistics(); } #endif }
// destructor, handle proper test shutdown Responder::~Responder() { endwin(); if(_pResponse != NULL){ delete[] _pResponse; } time( &_dbginfo.end_time ); // Print final info about test run print_final_statistics(); // check conditions and write statistics to file safe_write_statistics_to_file(_mapStats, _max_success, _return_code); cout << "program exited with code = " << enum2str(_return_code) << endl; }