diff --git a/test/ci_support/cdash_analyze_and_report_random_failures_UnitTests.py b/test/ci_support/cdash_analyze_and_report_random_failures_UnitTests.py index 74d098ec3..09d3ba313 100644 --- a/test/ci_support/cdash_analyze_and_report_random_failures_UnitTests.py +++ b/test/ci_support/cdash_analyze_and_report_random_failures_UnitTests.py @@ -129,6 +129,7 @@ def cdash_analyze_and_report_random_failures_run_case( testCiSupportDir + "/example_cdash_analyze_and_report_random_failures.py" + " --cdash-project-name='Project Name'" + + " --cdash-testing-day-start-time='00:00'" + " --group-name='Group Name'" + " --initial-nonpassing-test-filters='initial_nonpassing_test_filters'" + " --cdash-site-url='https://something.com/cdash'" diff --git a/tribits/ci_support/CDashAnalyzeReportRandomFailures.py b/tribits/ci_support/CDashAnalyzeReportRandomFailures.py index 47ed0fdaf..db152eb02 100644 --- a/tribits/ci_support/CDashAnalyzeReportRandomFailures.py +++ b/tribits/ci_support/CDashAnalyzeReportRandomFailures.py @@ -21,9 +21,7 @@ def runDriver(self): self.getCmndLineArgs() - cdashProjectTestingDayStartTime = "00:00" - # TODO: This should be moved outside in a project specific - # driver script or command line input + cdashProjectTestingDayStartTime = self.args.cdash_testing_day_start_time cdashSiteUrl = self.args.cdash_site_url cdashProjectName = self.args.cdash_project_name initialNonpassingTestFilters = self.args.initial_nonpassing_test_filters @@ -259,6 +257,7 @@ def getCmndLineArgs(self): parser.add_argument("--cdash-project-name", default="", required=True) parser.add_argument("--initial-nonpassing-test-filters", default="", required=True) parser.add_argument("--group-name", default="", required=True) + parser.add_argument("--cdash-testing-day-start-time", default="00:00") parser.add_argument("--reference-date", default="yesterday") parser.add_argument("--days-of-history", default=1, type=int) parser.add_argument("--print-url-mode", choices=['none','initial','all'], default='none')