summaryrefslogtreecommitdiff
path: root/tsp/jobs
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2017-06-20 12:19:24 +0200
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-08-08 10:18:56 +0200
commit0b7d00ac86411aa7c8f8a5e6c5fd7ec78ca61740 (patch)
tree30feb8bdfc92e6a09a534cc4fc4846d78640b3af /tsp/jobs
parent88a75b90a345b7f293f6eecc2ec94f343a29032a (diff)
downloadmajor-0b7d00ac86411aa7c8f8a5e6c5fd7ec78ca61740.tar.gz
major-0b7d00ac86411aa7c8f8a5e6c5fd7ec78ca61740.tar.bz2
major-0b7d00ac86411aa7c8f8a5e6c5fd7ec78ca61740.zip
Run go-smoke
Change-Id: I0f73c9862fac09b252cec388dad5eb2f5511b9d5
Diffstat (limited to 'tsp/jobs')
-rwxr-xr-xtsp/jobs/common_prep_flash_conf.sh9
1 files changed, 9 insertions, 0 deletions
diff --git a/tsp/jobs/common_prep_flash_conf.sh b/tsp/jobs/common_prep_flash_conf.sh
index 01e5c44..79f8e59 100755
--- a/tsp/jobs/common_prep_flash_conf.sh
+++ b/tsp/jobs/common_prep_flash_conf.sh
@@ -108,6 +108,14 @@ cp "${ORG_MULTIPLEX_FILE}" "${MULTIPLEX_FILE}"
# Copy multiplex file used by avocado
cp "${MULTIPLEX_FILE}" "${WORKDIR_REMOTE}/" || retrigger "copy failed"
+SMOKE_FILE="test.conf"
+ORG_SMOKE_FILE="${TSP_DIR}/test.conf"
+test -f "${ORG_SMOKE_FILE}" || ORG_SMOKE_FILE="${TSP_DIR}/test.conf.example"
+cp "${ORG_SMOKE_FILE}" "${SMOKE_FILE}"
+
+# Copy test.conf file used by go-smoke
+cp "${SMOKE_FILE}" "${WORKDIR_REMOTE}/" || retrigger "copy failed"
+
echo "start remote script"
WORKDIR_REMOTE="${WORKDIR_REMOTE}" TARGET="${TARGET}" timeout 10m sh "${TSP_DIR}/scripts/common_prep_flash_conf.sh" \
|| retrigger "script execution failed"
@@ -115,6 +123,7 @@ echo "finish remote script"
# Copy the results
cp "${WORKDIR_REMOTE}/sysctl.result" "${WORKDIR_REMOTE}/screenshot.png" .
+cp "${WORKDIR_REMOTE}/smoke.png" "${WORKDIR_REMOTE}/smoke.json" .
cp -r "${WORKDIR_REMOTE}/avocado-results" .
{