summaryrefslogtreecommitdiff
path: root/tsp/jobs/img_test_common.sh
diff options
context:
space:
mode:
authorAleksander Mistewicz <a.mistewicz@samsung.com>2017-04-04 11:02:46 +0200
committerAleksander Mistewicz <a.mistewicz@samsung.com>2017-05-24 13:08:10 +0200
commit40b876e628c37c439dd06cc73cb8f30c8d87e8ad (patch)
tree3bdbe8b2448b76574346738eb05169705cf4d44d /tsp/jobs/img_test_common.sh
parent6236a56923ede3173ac9f6d95a5835bf7e16b467 (diff)
downloadmajor-40b876e628c37c439dd06cc73cb8f30c8d87e8ad.tar.gz
major-40b876e628c37c439dd06cc73cb8f30c8d87e8ad.tar.bz2
major-40b876e628c37c439dd06cc73cb8f30c8d87e8ad.zip
Split odroid into tv-, ivi-, common- odroid
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/jobs/img_test_common.sh')
-rwxr-xr-xtsp/jobs/img_test_common.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tsp/jobs/img_test_common.sh b/tsp/jobs/img_test_common.sh
index 55d01e9..f349fcb 100755
--- a/tsp/jobs/img_test_common.sh
+++ b/tsp/jobs/img_test_common.sh
@@ -83,7 +83,7 @@ esac
if check_diff "${DIFF_FILE1}" "${DIFF_FILE2}" "${BUILD_NR}" "${TARGET}"
then
echo "Add common_prep_flash_conf job to the $TARGET queue"
- tsrun_target "${TARGET#headless-}" -L "$(echo "$TARGET" | tr '[:lower:]' '[:upper:]')_PREPARE_FLASH_CONF" \
+ tsrun_target "${TARGET#*-}" -L "$(echo "$TARGET" | tr '[:lower:]' '[:upper:]')_PREPARE_FLASH_CONF" \
sh "${TSP_DIR}/jobs/common_prep_flash_conf.sh" "${BUILD_NR}" "${TARGET}"
# Update status in database
update_db "$SR" "In test queue" "${BUILD_NR}" "$TARGET"