aboutsummaryrefslogtreecommitdiff
path: root/weekly_report.py
diff options
context:
space:
mode:
Diffstat (limited to 'weekly_report.py')
-rwxr-xr-xweekly_report.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/weekly_report.py b/weekly_report.py
index 4c1717ee..5cfba521 100755
--- a/weekly_report.py
+++ b/weekly_report.py
@@ -56,7 +56,8 @@ benchmark: all_perfv2 {
chromeos_root: %s
chromeos_image: %s
}
-""" % (test_name, chromeos_root, os.path.join (test_path, "chromiumos_test_image.bin"))
+""" % (test_name, chromeos_root, os.path.join (test_path,
+ "chromiumos_test_image.bin"))
print >>f, test_image
return filename
@@ -91,11 +92,13 @@ benchmark: all_perfv2 {
# Add vanilla image (first)
vanilla_image = """
-vanilla_image {
+%s {
chromeos_root: %s
chromeos_image: %s
}
-""" % (chromeos_root, os.path.join(vanilla_image_path, "chromiumos_test_image.bin"))
+""" % (vanilla_image_path.split("/")[-1],
+ chromeos_root, os.path.join(vanilla_image_path,
+ "chromiumos_test_image.bin"))
print >>f, vanilla_image
@@ -108,7 +111,8 @@ vanilla_image {
chromeos_root: %s
chromeos_image: %s
}
-""" % (test_name, chromeos_root, os.path.join (test_path, "chromiumos_test_image.bin"))
+""" % (test_name, chromeos_root, os.path.join (test_path,
+ "chromiumos_test_image.bin"))
print >>f, test_image
return filename