Skip to content

Commit

Permalink
WIP: Implement --write-test-data-to-file (TriBITSPub#304)
Browse files Browse the repository at this point in the history
I think this is correct.  Now I just need to check this to be sure.
  • Loading branch information
bartlettroscoe committed Feb 27, 2020
1 parent 4415e5c commit 33ec813
Showing 1 changed file with 11 additions and 3 deletions.
14 changes: 11 additions & 3 deletions tribits/ci_support/cdash_analyze_and_report.py
Original file line number Diff line number Diff line change
Expand Up @@ -969,13 +969,21 @@ def testSetGetDataAnalyzeReport( self,
#

if inOptions.writeFailingTestsWithoutIssueTrackersToFile:

twoifCsvFileName = inOptions.writeFailingTestsWithoutIssueTrackersToFile

print("\nWriting list of 'twiof' to file "+twoifCsvFileName+" ...")

CDQAR.writeTestsLODToCsvFile(twoifLOD, twoifCsvFileName)

#
# D.7) Write out test data to CSV file
#

if inOptions.writeTestDataToFile:
testDataFileName = inOptions.writeTestDataToFile
print("\nWriting out gathered test dta to file "+testDataFileName+" ...")
testDataLOD = twipLOD + twimLOD + twifLOD + twinrLOD
# ToDo: Add the first inOptions.limitTableRows elements of twiofLOD and twoinrLOD ...
CDQAR.pprintPythonDataToFile(testDataLOD, testDataFileName)

except Exception:
# Traceback!
print("")
Expand Down

0 comments on commit 33ec813

Please sign in to comment.