diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-08-04 12:37:08 +0200 |
---|---|---|
committer | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-09-27 18:58:33 +0200 |
commit | 2ca669110f7836be6c11e51515f39b7083ee4198 (patch) | |
tree | cf2cc7ab43ee89f716eb1ce1ee8647aaaef52f73 /tsp | |
parent | 3673d155231fd8fd9215c09661debe13e8218e3a (diff) | |
download | major-2ca669110f7836be6c11e51515f39b7083ee4198.tar.gz major-2ca669110f7836be6c11e51515f39b7083ee4198.tar.bz2 major-2ca669110f7836be6c11e51515f39b7083ee4198.zip |
Preserve diff files
Change-Id: Ia1bd085514448af11d75d319abe79d927a70b04f
Diffstat (limited to 'tsp')
-rwxr-xr-x | tsp/jobs/img_test_common.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tsp/jobs/img_test_common.sh b/tsp/jobs/img_test_common.sh index 9d9adfe..09529d4 100755 --- a/tsp/jobs/img_test_common.sh +++ b/tsp/jobs/img_test_common.sh @@ -82,6 +82,10 @@ esac if check_diff "${DIFF_FILE1}" "${DIFF_FILE2}" "${BUILD_NR}" "${TARGET}" then + # Preserve both diff files + cp "${DIFF_FILE1}" "${WORKDIR}/diff_usr.report" + test -f "${DIFF_FILE2}" && cp "${DIFF_FILE2}" "${WORKDIR}/diff_boot.report" + echo "Add common_prep_flash_conf job to the $TARGET queue" tsrun_target "${TARGET#*-}" -L "$(echo "$TARGET" | tr '[:lower:]' '[:upper:]')_PREPARE_FLASH_CONF" \ sh "${TSP_DIR}/jobs/common_prep_flash_conf.sh" "${BUILD_NR}" "${TARGET}" |