Re: [Fuego] [fuego-core 5/7] LTP: fix fuego test could not skip list of test cases

<[email protected]> Thu, 22 Jul 2021 18:55:46 +0000
Newsgroups dev.linux.lists.fuego
Message-ID <BYAPR13MB25039974560337C118E1A269FDE49@BYAPR13MB2503.namprd13.prod.outlook.com>
Nice catch!! Thanks.

Applied.
 -- Tim

> -----Original Message-----
> From: [email protected] <[email protected]>
> Sent: Sunday, July 18, 2021 5:10 AM
> To: Bird, Tim <[email protected]>
> Cc: nguyen thi huong <[email protected]>; [email protected]; [email protected]; venkata pyla
> <[email protected]>
> Subject: [fuego-core 5/7] LTP: fix fuego test could not skip list of test cases
> 
> From: nguyen thi huong <[email protected]>
> 
> Currently It can skip one test case or one file that definied in 'skiplist'
> Result of skipped test cases are marked as CONF ('stat=32')
> However it could not skip a list of LTP test cases
> Correct the syntax of FUEGO_LTP_SKIPLIST variable to parse all items of 'skiplist'
> 
> Signed-off-by: nguyen thi huong <[email protected]>
> Signed-off-by: venkata pyla <[email protected]>
> ---
>  tests/Functional.LTP/fuego_test.sh | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tests/Functional.LTP/fuego_test.sh b/tests/Functional.LTP/fuego_test.sh
> index 6a84d1c..e620b17 100755
> --- a/tests/Functional.LTP/fuego_test.sh
> +++ b/tests/Functional.LTP/fuego_test.sh
> @@ -380,7 +380,7 @@ function test_deploy {
>      # to skipfiles (text files containing a list of LTP test case names)
>      # usually located under /fuego-rw/boards/
>      if [ -n "${FUNCTIONAL_LTP_SKIPLIST}" ]; then
> -        for item in "${FUNCTIONAL_LTP_SKIPLIST}"; do
> +        for item in ${FUNCTIONAL_LTP_SKIPLIST}; do
>              if [ -f "$item" ]; then
>                  cat "$item" >> ${LOGDIR}/skiplist.txt
>              else
> --
> 2.20.1
>