[Piglit] [PATCH 3/3] programs/run.py: fix resume assertion error

Dylan Baker baker.dylan.c at gmail.com
Wed Jun 25 16:05:27 PDT 2014


Resume is missing a call to JSONWriter.close_dict(), this patch corrects
that

Signed-off-by: Dylan Baker <baker.dylan.c at gmail.com>
---
 framework/programs/run.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/framework/programs/run.py b/framework/programs/run.py
index ab3ce0e..c1a2658 100644
--- a/framework/programs/run.py
+++ b/framework/programs/run.py
@@ -237,6 +237,7 @@ def resume(input_):
     # This is resumed, don't bother with time since it wont be accurate anyway
     profile.run(opts, json_writer)
 
+    json_writer.close_dict()
     json_writer.close_json()
 
     print("Thank you for running Piglit!\n"
-- 
2.0.0



More information about the Piglit mailing list