[Piglit] [PATCH 3/3] framework/programs/run.py: Fix but in backend constructor

Dylan Baker baker.dylan.c at gmail.com
Fri Oct 3 15:25:03 PDT 2014

This fixes a bug in the junit backend in conjunction with the
--junit_suffix option. Durring the atomic writes series, the name of the
argument changed from junit_suffix to junit_test_suffix in the
constructor of the JUnitBackend, but not in the runner function. This
patch changes the runner function to match the JUnitBackend.

cc: mark.a.janes at intel.com
Signed-off-by: Dylan Baker <dylanx.c.baker at intel.com>
 framework/programs/run.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/framework/programs/run.py b/framework/programs/run.py
index bd48fa8..186b6d5 100644
--- a/framework/programs/run.py
+++ b/framework/programs/run.py
@@ -263,7 +263,7 @@ def run(input_):
     backend = backends.get_backend(args.backend)(
-        junit_suffix=args.junit_suffix)
+        junit_test_suffix=args.junit_suffix)
     profile = framework.profile.merge_test_profiles(args.test_profile)

More information about the Piglit mailing list