cwScoreTest.cpp : Added score_warn_fl and parse_warn_fl.
This commit is contained in:
parent
0193deb9e2
commit
b951e7a09d
@ -23,8 +23,10 @@ cw::rc_t cw::score_test::test( const object_t* cfg )
|
|||||||
const object_t* sftrackNode = nullptr;
|
const object_t* sftrackNode = nullptr;
|
||||||
bool parse_fl = false;
|
bool parse_fl = false;
|
||||||
bool parse_report_fl = false;
|
bool parse_report_fl = false;
|
||||||
|
bool parse_warn_fl = false;
|
||||||
bool score_fl = false;
|
bool score_fl = false;
|
||||||
bool score_report_fl = false;
|
bool score_report_fl = false;
|
||||||
|
bool score_warn_fl = false;
|
||||||
bool match_fl = false;
|
bool match_fl = false;
|
||||||
bool track_fl = false;
|
bool track_fl = false;
|
||||||
double srate = 0;
|
double srate = 0;
|
||||||
@ -41,8 +43,10 @@ cw::rc_t cw::score_test::test( const object_t* cfg )
|
|||||||
"sftrack", sftrackNode,
|
"sftrack", sftrackNode,
|
||||||
"parse_fl", parse_fl,
|
"parse_fl", parse_fl,
|
||||||
"parse_report_fl", parse_report_fl,
|
"parse_report_fl", parse_report_fl,
|
||||||
|
"parse_warn_fl", parse_warn_fl,
|
||||||
"score_fl", score_fl,
|
"score_fl", score_fl,
|
||||||
"score_report_fl", score_report_fl,
|
"score_report_fl", score_report_fl,
|
||||||
|
"score_warn_fl", score_warn_fl,
|
||||||
"match_fl", match_fl,
|
"match_fl", match_fl,
|
||||||
"track_fl", track_fl)) != kOkRC )
|
"track_fl", track_fl)) != kOkRC )
|
||||||
{
|
{
|
||||||
@ -61,7 +65,7 @@ cw::rc_t cw::score_test::test( const object_t* cfg )
|
|||||||
if( parse_fl )
|
if( parse_fl )
|
||||||
{
|
{
|
||||||
// create the score_parse object
|
// create the score_parse object
|
||||||
if((rc = score_parse::create(spH,cm_score_fname,srate,dynRefH)) != kOkRC )
|
if((rc = score_parse::create(spH,cm_score_fname,srate,dynRefH,parse_warn_fl)) != kOkRC )
|
||||||
{
|
{
|
||||||
rc = cwLogError(rc,"Score parse failed on '%s'.",cwStringNullGuard(cm_score_fname));
|
rc = cwLogError(rc,"Score parse failed on '%s'.",cwStringNullGuard(cm_score_fname));
|
||||||
goto errLabel;
|
goto errLabel;
|
||||||
|
Loading…
Reference in New Issue
Block a user