[Piglit] [PATCH 1/3] programs/run.py: Fix options recording

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


This was accidentally removed in a previous commit.

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

diff --git a/framework/programs/run.py b/framework/programs/run.py
index bd9bd2e..ab3ce0e 100644
--- a/framework/programs/run.py
+++ b/framework/programs/run.py
@@ -165,6 +165,8 @@ def run(input_):
     # Create a dictionary to pass to initialize json, it needs the contents of
     # the env dictionary and profile and platform information
     options = {'profile': args.test_profile}
+    for key, value in opts:
+        options[key] = value
     if args.platform:
         options['platform'] = args.platform
     json_writer.initialize_json(options, results.name,
-- 
2.0.0



More information about the Piglit mailing list