Index: local/run.coco.sh =================================================================== diff -u -r4e3988b004dcb061bb617b3de26dcfc8a4be8bed -rffc205d9be488c7f4b968afcd6ddde182d69ae61 --- local/run.coco.sh (.../run.coco.sh) (revision 4e3988b004dcb061bb617b3de26dcfc8a4be8bed) +++ local/run.coco.sh (.../run.coco.sh) (revision ffc205d9be488c7f4b968afcd6ddde182d69ae61) @@ -43,6 +43,12 @@ REPORT_SQUISH=$REPORT_PATH/squish REPORT_QTTEST=$REPORT_PATH/qttest +TESTCASES_KEY="TEST_CASES=" +TESTCASES_OPT="--testcase" +TESTCASES_LINE=$(grep "$TESTCASES_KEY" ~/Projects/testsuites/suite.conf) +TESTCASES_LIST=${TESTCASES_LINE:${#TESTCASES_KEY}:${#TESTCASES_LINE}} +TESTCASES_ARGS="${TESTCASES_LIST// / $TESTCASES_OPT }" + ##### ---------- HELPER ----------------------------------------------------------------------------------------------- function generate_alarm_mapping() { echo " ------------------------------ Generating the alarms mapping" @@ -81,11 +87,12 @@ function server_squish_run() { echo " ------------------------------ Starting tests $TESTSUITE_PATH" - $SQUISH_RUNNER \ - --testsuite $TESTSUITE_PATH \ + $SQUISH_RUNNER \ + --testsuite $TESTSUITE_PATH \ + --testcase $TESTCASES_ARGS \ --reportgen html,$REPORT_SQUISH \ 2> $LOG_PATH/squishqtrunner.err \ - | tee $LOG_PATH/squishqtrunner.log + | tee $LOG_PATH/squishqtrunner.log } function server_squish_stop() { @@ -272,3 +279,4 @@ echo "--report create the execution report of the ran applicaiton" echo " report type html:default, csv" fi +