From 8bea63e98a22eb73905e6f7292b653cb2f2b1737 Mon Sep 17 00:00:00 2001 From: "anodelman@mozilla.com" Date: Mon, 15 Oct 2007 14:28:56 -0700 Subject: [PATCH] Bug 399868 - Rename standalone talos output file to .csv a=anodelman r=bhearsum --- testing/performance/talos/run_tests.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/testing/performance/talos/run_tests.py b/testing/performance/talos/run_tests.py index 6c8e19ee682a..ca9e05bd5ffe 100755 --- a/testing/performance/talos/run_tests.py +++ b/testing/performance/talos/run_tests.py @@ -89,7 +89,7 @@ def send_to_csv(csv_file, results): import csv for res in results: browser_dump, counter_dump = results[res] - writer = csv.writer(open(csv_file + '_' + res, "wb")) + writer = csv.writer(open(csv_file + '_' + res + '.csv', "wb")) if res in ('ts', 'twinopen'): i = 0 writer.writerow(['i', 'val']) @@ -118,7 +118,7 @@ def send_to_csv(csv_file, results): i += 1 for cd in counter_dump: for count_type in cd: - writer = csv.writer(open(csv_file + '_' + res + '_' + count_type, "wb")) + writer = csv.writer(open(csv_file + '_' + res + '_' + count_type + '.csv', "wb")) writer.writerow(['i', 'value']) i = 0 for val in cd[count_type]: