Improve the output format of the testrunner (#2438)
JerryScript-DCO-1.0-Signed-off-by: Peter Marki marpeter@inf.u-szeged.hu
This commit is contained in:
@@ -19,6 +19,10 @@ DEBUGGER_CLIENT=$2
|
||||
TEST_CASE=$3
|
||||
CLIENT_ARGS=""
|
||||
|
||||
TERM_NORMAL='\033[0m'
|
||||
TERM_RED='\033[1;31m'
|
||||
TERM_GREEN='\033[1;32m'
|
||||
|
||||
if [[ $TEST_CASE == *"client_source"* ]]; then
|
||||
START_DEBUG_SERVER="${JERRY} --start-debug-server --debugger-wait-source &"
|
||||
if [[ $TEST_CASE == *"client_source_multiple"* ]]; then
|
||||
@@ -50,9 +54,9 @@ rm -f ${RESULT_TEMP}
|
||||
|
||||
if [ ${STATUS_CODE} -ne 0 ]
|
||||
then
|
||||
echo "${TEST_CASE} failed"
|
||||
echo -e "${TERM_RED}FAIL: ${TEST_CASE}${TERM_NORMAL}\n"
|
||||
else
|
||||
echo "${TEST_CASE} passed"
|
||||
echo -e "${TERM_GREEN}PASS: ${TEST_CASE}${TERM_NORMAL}\n"
|
||||
fi
|
||||
|
||||
exit ${STATUS_CODE}
|
||||
|
||||
Reference in New Issue
Block a user