summaryrefslogtreecommitdiff
path: root/tsp/scripts
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2017-04-04 09:02:46 (GMT)
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-05-24 11:08:10 (GMT)
commit40b876e628c37c439dd06cc73cb8f30c8d87e8ad (patch)
tree3bdbe8b2448b76574346738eb05169705cf4d44d /tsp/scripts
parent6236a56923ede3173ac9f6d95a5835bf7e16b467 (diff)
downloadmajor-40b876e628c37c439dd06cc73cb8f30c8d87e8ad.zip
major-40b876e628c37c439dd06cc73cb8f30c8d87e8ad.tar.gz
major-40b876e628c37c439dd06cc73cb8f30c8d87e8ad.tar.bz2
Split odroid into tv-, ivi-, common- odroidrefs/changes/20/130920/1
Database update is required. Delete it or run: . tsp/common.sh sqlite3 "${DBPATH}" -batch < tsp/results-values-device.sql Change-Id: I0724b4b7529ff54e136441e7f9cdba7f5a471593
Diffstat (limited to 'tsp/scripts')
-rwxr-xr-xtsp/scripts/common_prep_flash_conf.sh3
-rwxr-xr-xtsp/scripts/publish.py2
2 files changed, 3 insertions, 2 deletions
diff --git a/tsp/scripts/common_prep_flash_conf.sh b/tsp/scripts/common_prep_flash_conf.sh
index 880922d..195e6bf 100755
--- a/tsp/scripts/common_prep_flash_conf.sh
+++ b/tsp/scripts/common_prep_flash_conf.sh
@@ -24,11 +24,12 @@ FAILED_DEVICE_LOG="/var/tmp/failed_devices.log"
TESTLAB_MAJOR="/opt/testlab-major"
cd "${WORKDIR_REMOTE}" || exit
-ACTUAL_TARGET="${TARGET#headless-}"
+ACTUAL_TARGET="${TARGET#*-}"
case "$TARGET" in
*odroid*)
BOOT_IMG="$(pwd)/$(ls tizen-*-boot-*odroid*.tar.gz)"
USR_IMG="$(pwd)/$(ls tizen-*-wayland-*odroid*.tar.gz)"
+ test -f "$USR_IMG" || USR_IMG="$(pwd)/$(ls tizen-*-target-*odroid*.tar.gz)"
;;
*artik*)
BOOT_IMG="$(pwd)/$(ls tizen-*-boot-*artik*.tar.gz)"
diff --git a/tsp/scripts/publish.py b/tsp/scripts/publish.py
index b9237d1..91e906a 100755
--- a/tsp/scripts/publish.py
+++ b/tsp/scripts/publish.py
@@ -33,7 +33,7 @@ USAGE = "%prog <db>"
AGENT = "%s/%s" % (__name__, __version__)
COLORS = ["#fff", "#ddd"]
-SCREENSHOTABLE = ["odroid", "artik5", "artik10", "artik5"]
+SCREENSHOTABLE = ["ivi-odroid", "tv-odroid", "common-odroid", "artik5", "artik10"]
def print_head(row):
template = jinja2.Template('<tr>\n\