[Fuego] FYI - [PATCH] ] LTP: fix parser to use correct number of arg to process_data

Bird, Timothy Tim.Bird at sony.com
Tue Aug 1 23:10:03 UTC 2017


process_data takes 4 args, not 3.  The current instantiation of
this (in fuego 1.2) only uses the 2nd argument, so just pass in a junk
parameter as the first one.
---
 engine/tests/Functional.LTP/parser.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/engine/tests/Functional.LTP/parser.py b/engine/tests/Functional.LTP/parser.py
index feab36a..b369380 100755
--- a/engine/tests/Functional.LTP/parser.py
+++ b/engine/tests/Functional.LTP/parser.py
@@ -150,7 +150,7 @@ for test_category in tests:
                 output = read_output(test_category, test_case)
                 print output
 
-sys.exit(plib.process_data(test_results=test_results, plot_type='l', label='PASS=0 FAIL=1'))
+sys.exit(plib.process_data("unused", test_results, plot_type='l', label='PASS=0 FAIL=1'))
 
 
 # Posix Test Suite processing
-- 
1.9.1



More information about the Fuego mailing list