From 93ae521462b9b2aefbaf87e4441ac9a4a23e3ba4 Mon Sep 17 00:00:00 2001 From: Anderson Chauphan Date: Tue, 6 Feb 2024 10:47:42 -0700 Subject: [PATCH] Modified starting status string output to indicate date range (#600) --- .../ci_support/cdash_analyze_and_report_random_failures.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tribits/ci_support/cdash_analyze_and_report_random_failures.py b/tribits/ci_support/cdash_analyze_and_report_random_failures.py index 3a3d84c6c..9b77b989f 100755 --- a/tribits/ci_support/cdash_analyze_and_report_random_failures.py +++ b/tribits/ci_support/cdash_analyze_and_report_random_failures.py @@ -82,8 +82,6 @@ def main(): dateRangeStart, dateRangeEnd = getDateRangeTuple(referenceDateDT, daysOfHistory) dateUrlField = "begin="+dateRangeStart+"&end="+dateRangeEnd dateRangeStr = dateRangeStart+" to "+dateRangeEnd - - print("\n dateRangeBeginStr: "+dateRangeStart+" dateRangeEndStr: "+dateRangeEnd) cdashQueriesCacheDir = os.getcwd()+"/test_queries_cache" testHistoryCacheDir = cdashQueriesCacheDir+"/test_history_cache" @@ -107,7 +105,7 @@ def main(): # Beginning of scanned details and links paragraph cdashReportData.htmlEmailBodyTop +="

\n" - print("\nGetting list of nonpassing tests from CDash ...") + print("\nGetting list of initial nonpassing tests from CDash from "+dateRangeStr) initialNonpassingTestsQueryUrl = CDQAR.getCDashQueryTestsQueryUrl( cdashSiteUrl, cdashProjectName, None, initialNonpassingTestQueryFilters) @@ -290,7 +288,6 @@ def main(): CDQAR.sendMineEmail(msg) - def getCmndLineArgs(): parser = argparse.ArgumentParser("Arguments for cdash_analyze_and_report_random_failures.py") parser.add_argument("--cdash-site-url", default="", required=True)