[Fuego] [fuego-core 5/7] LTP: fix fuego test could not skip list of test cases
[email protected] Sun, 18 Jul 2021 16:40:10 +0530
| Newsgroups | dev.linux.lists.fuego |
|---|---|
| Message-ID | <[email protected]> |
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