Skip to content

Commit

Permalink
Added cdash-testing-day-start-time argument (#600)
Browse files Browse the repository at this point in the history
Used to specify the testing day start time unique to each CDash
project.
  • Loading branch information
achauphan committed Feb 13, 2024
1 parent 693cfb5 commit e9b5f87
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
Expand Down
5 changes: 2 additions & 3 deletions tribits/ci_support/CDashAnalyzeReportRandomFailures.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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')
Expand Down

0 comments on commit e9b5f87

Please sign in to comment.