1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 19:01:15 +01:00
workload-automation/wlauto/common
Lisa Nguyen a7895a17bf common/linux/device.py: Create binaries_directory path if it doesn't exist
Some Linux devices may run on minimal root file systems
(e.g. buildroot) where /usr/local/bin path doesn't exist. Create
the binaries_directory if it doesn't exist instead of letting WA
quit and return errors such as:

INFO     Runner: Skipping the rest of the iterations for this spec.
ERROR    Runner: Error while running memcpy
ERROR    Runner: CalledProcessError("Command 'sshpass
                  -p '<password>' /usr/bin/scp -r
                  /usr/local/lib/python2.7/dist-packages/
                  wlauto-2.3.0-py2.7.egg/wlauto/workloads/memcpy
                  /memcpy root@192.168.x.x:/usr/local/bin/memcpy'
                  returned non-zero exit status 1")
ERROR    Runner: Got:
ERROR    Runner:
ERROR    Runner: scp: /usr/local/bin/memcpy:
                  No such file or directory

Signed-off-by: Lisa Nguyen <lisa.nguyen@linaro.org>
2015-04-01 08:05:11 +01:00
..
android Adding dumpsys window output to __meta 2015-03-25 17:56:58 +00:00
bin Fix for 64 bit revent [part 2] 2015-03-23 18:59:54 +00:00
linux common/linux/device.py: Create binaries_directory path if it doesn't exist 2015-04-01 08:05:11 +01:00
__init__.py Initial commit of open source Workload Automation. 2015-03-10 13:09:31 +00:00
resources.py Initial commit of open source Workload Automation. 2015-03-10 13:09:31 +00:00