Fix '--skip-list' argument of the test runner script. (#2536)

JerryScript-DCO-1.0-Signed-off-by: László Langó llango.u-szeged@partner.samsung.com
This commit is contained in:
László Langó 2018-09-24 13:17:04 +02:00 committed by GitHub
parent 0523278a98
commit d08b46d15a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -53,7 +53,7 @@ fi
if [[ "$1" =~ ^--skip-list=.* ]] if [[ "$1" =~ ^--skip-list=.* ]]
then then
SKIP_LIST=${1#--skip-list=} SKIP_LIST=${1#--skip-list=}
SKIP_LIST=(${SKIP_LIST//,/ }) SKIP_LIST=${SKIP_LIST//,/ }
shift shift
fi fi
@ -97,7 +97,7 @@ else
fi fi
# Remove the skipped tests from list # Remove the skipped tests from list
for TEST in "${SKIP_LIST[@]}" for TEST in ${SKIP_LIST}
do do
( sed -i -r "/$TEST/d" $TEST_FILES ) ( sed -i -r "/$TEST/d" $TEST_FILES )
done done