[Fuego] [PATCH 08/18] LTP: put the skiplist on the log directory
Daniel Sangorrin
daniel.sangorrin at toshiba.co.jp
Tue Jan 30 09:59:26 UTC 2018
Signed-off-by: Daniel Sangorrin <daniel.sangorrin at toshiba.co.jp>
---
engine/tests/Functional.LTP/fuego_test.sh | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/engine/tests/Functional.LTP/fuego_test.sh b/engine/tests/Functional.LTP/fuego_test.sh
index ae85bac..faec158 100755
--- a/engine/tests/Functional.LTP/fuego_test.sh
+++ b/engine/tests/Functional.LTP/fuego_test.sh
@@ -138,11 +138,10 @@ function test_build {
}
function test_deploy {
- # generate the skip list for this test
- echo "# skip these test cases" > skiplist.txt
+ # add tests to skip if defined on the spec
if [ -n "${FUNCTIONAL_LTP_SKIPLIST}" ]; then
for item in $FUNCTIONAL_LTP_SKIPLIST; do
- echo $item >> skiplist.txt
+ echo "$item" >> ${LOGDIR}/skiplist.txt
done
fi
@@ -159,7 +158,7 @@ function test_deploy {
awk '/^[^#]/ { print "rm -f ltp/testcases/bin/" $2 }' ltp/runtest/syscalls | sh
fi
- cp skiplist.txt ltp
+ cp ${LOGDIR}/skiplist.txt ltp
put ltp/* $LTP_DESTDIR
rm -rf ltp
@@ -180,7 +179,7 @@ function test_deploy {
cmd "mkdir -p $FUNCTIONAL_LTP_HOMEDIR/testcases/realtime/scripts"
put testcases/realtime/scripts/setenv.sh $FUNCTIONAL_LTP_HOMEDIR/testcases/realtime/scripts
put $TEST_HOME/ltp_target_run.sh $FUNCTIONAL_LTP_HOMEDIR
- put skiplist.txt $FUNCTIONAL_LTP_HOMEDIR
+ put ${LOGDIR}/skiplist.txt $FUNCTIONAL_LTP_HOMEDIR
fi
}
--
2.7.4
More information about the Fuego
mailing list