Change-Id: I656c7302ed5fbf79b277890920b9d93b897eeb9d
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
--multiplex "${MULTIPLEX_FILE}" \
--job-results-dir "${RESULTS}"
}
+
+run_avocado_sdb() {
+ SERIAL="$1"
+ RESULTS="$2"
+ MULTIPLEX_FILE="$3"
+ test -n "${SERIAL}" || die "Missing argument: serial"
+ test -n "${RESULTS}" || die "Missing argument: results"
+ test -n "${MULTIPLEX_FILE}" || die "Missing argument: multiplex_file"
+
+ sed -i "s:SERIAL_VALUE:${SERIAL}:" "${MULTIPLEX_FILE}"
+
+ avocado run "${TESTLAB_SCRIPTS}/run/common_test.py" \
+ --multiplex "${MULTIPLEX_FILE}" \
+ --job-results-dir "${RESULTS}"
+}