[Fuego] FYI - [PATCH] ] LTP: fix parser to use correct number of arg to process_data
Daniel Sangorrin
daniel.sangorrin at toshiba.co.jp
Wed Aug 2 04:33:53 UTC 2017
Thank you for the fixes Tim.
Is the LTP working at the moment?
> -----Original Message-----
> From: Bird, Timothy [mailto:Tim.Bird at sony.com]
> Sent: Wednesday, August 02, 2017 8:10 AM
> To: Daniel Sangorrin; fuego at lists.linuxfoundation.org
> Subject: FYI - [PATCH] ] LTP: fix parser to use correct number of arg to process_data
>
> 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