diff --git a/test/ci_support/example_cdash_analyze_and_report_random_failures.py b/test/ci_support/example_cdash_analyze_and_report_random_failures.py index a6c9e7cba..1d8b7c398 100755 --- a/test/ci_support/example_cdash_analyze_and_report_random_failures.py +++ b/test/ci_support/example_cdash_analyze_and_report_random_failures.py @@ -17,6 +17,7 @@ def main(): cdashAnalyzeAndReportRandomFailures.runDriver() + class ExampleVersionInfoStrategy: def getTargetTopicSha1s(self, buildData): @@ -29,6 +30,7 @@ def getTargetTopicSha1s(self, buildData): def checkTargetTopicRandomFailure(self, targetTopicPair, knownTargetTopicPairs): return targetTopicPair in knownTargetTopicPairs + class ExampleExtractBuildNameStrategy: def getCoreBuildName(self, fullBuildName): @@ -36,8 +38,5 @@ def getCoreBuildName(self, fullBuildName): return coreBuildName - - - if __name__ == '__main__': sys.exit(main()) diff --git a/tribits/ci_support/CDashAnalyzeReportRandomFailures.py b/tribits/ci_support/CDashAnalyzeReportRandomFailures.py index ebc0d9364..8a9f39567 100644 --- a/tribits/ci_support/CDashAnalyzeReportRandomFailures.py +++ b/tribits/ci_support/CDashAnalyzeReportRandomFailures.py @@ -310,4 +310,5 @@ def singleSummaryReporter(self, cdashReportData): "\n
Build name: "+ self.buildName +\ "\n
Test name: "+ self.testName +\ "\n
Test history URL: "+ self.testHistoryUrl +\ - "\n
Sha1 Pair : "+ str(self.sha1Pair) \ No newline at end of file + "\n
Sha1 Pair : "+ str(self.sha1Pair) +