I was trying to verify the click testplan and ran into the issue that the deployment does not work for me.
This is confusing becaue I was able to run the click package on my device and from reading qtc_device_applaunch.py
it seems like something put the click on the device and then the qtc_device_applaunch.py script installs it, runs it
and removes it. So installing is possible and yet it fails in step #15 of the SDK testplan when its running
/usr/share/qtcreator/ubuntu/scripts/qtc_project_click_deploy
I looked at the script and noticed some issue:
- does not use "set -e" when ssh can't connect this gets ignored
- redirects errors from ssh/scp which means that if something goes wrong here its unclear to the user what is going on
- does not output when it was successful
I was trying to verify the click testplan and ran into the issue that the deployment does not work for me.
This is confusing becaue I was able to run the click package on my device and from reading qtc_device_ applaunch. py applaunch. py script installs it, runs it qtcreator/ ubuntu/ scripts/ qtc_project_ click_deploy
it seems like something put the click on the device and then the qtc_device_
and removes it. So installing is possible and yet it fails in step #15 of the SDK testplan when its running
/usr/share/
I looked at the script and noticed some issue:
- does not use "set -e" when ssh can't connect this gets ignored
- redirects errors from ssh/scp which means that if something goes wrong here its unclear to the user what is going on
- does not output when it was successful
I will work on a branch for that.
Thanks,
Michael