From b951e7a09dd4ab69a26c2f4a1edf7d2bb98bdba6 Mon Sep 17 00:00:00 2001 From: kevin Date: Tue, 12 Sep 2023 20:25:28 -0400 Subject: [PATCH] cwScoreTest.cpp : Added score_warn_fl and parse_warn_fl. --- cwScoreTest.cpp | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/cwScoreTest.cpp b/cwScoreTest.cpp index 301cc90..653cc25 100644 --- a/cwScoreTest.cpp +++ b/cwScoreTest.cpp @@ -23,8 +23,10 @@ cw::rc_t cw::score_test::test( const object_t* cfg ) const object_t* sftrackNode = nullptr; bool parse_fl = false; bool parse_report_fl = false; + bool parse_warn_fl = false; bool score_fl = false; bool score_report_fl = false; + bool score_warn_fl = false; bool match_fl = false; bool track_fl = false; double srate = 0; @@ -41,8 +43,10 @@ cw::rc_t cw::score_test::test( const object_t* cfg ) "sftrack", sftrackNode, "parse_fl", parse_fl, "parse_report_fl", parse_report_fl, + "parse_warn_fl", parse_warn_fl, "score_fl", score_fl, "score_report_fl", score_report_fl, + "score_warn_fl", score_warn_fl, "match_fl", match_fl, "track_fl", track_fl)) != kOkRC ) { @@ -61,7 +65,7 @@ cw::rc_t cw::score_test::test( const object_t* cfg ) if( parse_fl ) { // 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)); goto errLabel;