diff options
author | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2016-11-29 15:40:20 +0100 |
---|---|---|
committer | Aleksander Mistewicz <a.mistewicz@samsung.com> | 2017-02-01 17:36:50 +0100 |
commit | d794c07bf38b9a851e9cbef4a3de8b3691cb3bcf (patch) | |
tree | a306a89d148d0a247d563991ee2e0f04507dce46 /tsp | |
parent | fef9f11a961d8f38fe1a27565cfdff81274627e1 (diff) | |
download | major-d794c07bf38b9a851e9cbef4a3de8b3691cb3bcf.tar.gz major-d794c07bf38b9a851e9cbef4a3de8b3691cb3bcf.tar.bz2 major-d794c07bf38b9a851e9cbef4a3de8b3691cb3bcf.zip |
Log failed devices in /var/tmp/failed_devices.log
Change-Id: I20378647806ac2fbf546823219d32034310516e9
Signed-off-by: Aleksander Mistewicz <a.mistewicz@samsung.com>
Diffstat (limited to 'tsp')
-rwxr-xr-x | tsp/scripts/common_prep_flash_conf.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tsp/scripts/common_prep_flash_conf.sh b/tsp/scripts/common_prep_flash_conf.sh index 1eca9b4..c260813 100755 --- a/tsp/scripts/common_prep_flash_conf.sh +++ b/tsp/scripts/common_prep_flash_conf.sh @@ -20,6 +20,7 @@ # WORKDIR_REMOTE, TARGET are given as environment variables +FAILED_DEVICE_LOG="/var/tmp/failed_devices.log" TESTLAB_MAJOR="/opt/testlab-major" cd "${WORKDIR_REMOTE}" || exit @@ -95,6 +96,7 @@ if grep -q "Testing failed." sysctl.result then echo "FAILED 1" >> sysctl.result python "${TESTLAB_MAJOR}/tct/resource_locking.py" --unlockfailed "${SDMUX}" + echo "$(date): ${SDMUX}" >> "${FAILED_DEVICE_LOG}" else echo "FAILED 0" >> sysctl.result python "${TESTLAB_MAJOR}/tct/resource_locking.py" --unlock "${SDMUX}" |