diff options
Diffstat (limited to 'resources/tools/presentation/generator_CPTA.py')
-rw-r--r-- | resources/tools/presentation/generator_CPTA.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/resources/tools/presentation/generator_CPTA.py b/resources/tools/presentation/generator_CPTA.py index 580b8f033b..f57757f451 100644 --- a/resources/tools/presentation/generator_CPTA.py +++ b/resources/tools/presentation/generator_CPTA.py @@ -602,6 +602,12 @@ def _generate_all_charts(spec, input_data): if classification == "regression" or \ classification == "outlier": result = "FAIL" + file_name = "{0}-progressions-{1}.txt".\ + format(spec.cpta["output-file"], job_name) + with open(file_name, 'w') as txt_file: + for test_name, classification in job_data.iteritems(): + if classification == "progression": + txt_file.write(test_name + '\n') else: result = "FAIL" |