diff options
author | Naresh Kamboju <naresh.kamboju@linaro.org> | 2016-09-06 14:29:14 +0530 |
---|---|---|
committer | Naresh Kamboju <naresh.kamboju@linaro.org> | 2016-09-06 14:29:14 +0530 |
commit | 8e18c4540d8c4e76b069288887d435323dd05829 (patch) | |
tree | 7d8981fc3eed37f860c6b3c5c5eeecdafca5cbf1 | |
parent | 700e4f543c2cbebad14ba8c31169f2f8f5488088 (diff) |
Change-Id: I195ba7aa9b145d7dc81f40b76e36bef583990f52
Signed-off-by: Naresh Kamboju <naresh.kamboju@linaro.org>
-rwxr-xr-x | automated/linux/ui-browser-test/ui-browser-test.sh | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/automated/linux/ui-browser-test/ui-browser-test.sh b/automated/linux/ui-browser-test/ui-browser-test.sh index fc15ddb..7b1d6ed 100755 --- a/automated/linux/ui-browser-test/ui-browser-test.sh +++ b/automated/linux/ui-browser-test/ui-browser-test.sh @@ -59,18 +59,19 @@ install_deps "${pkgs}" "${SKIP_INSTALL}" mkdir -p "${OUTPUT}" echo +dist_name +if [ "${dist}" = "Debian" ] || [ "${dist}" = "Ubuntu" ]; then + "${WD}"/install-on-debian.sh +else + echo "Not a debian machine" +fi + # Copy robot test scripts to /tmp cp -a robot-test-scripts /tmp/ # Tests should runs by linaro users because X owned by linaro user. # linaro user can not create output files in /root # so change directory to /tmp cd /tmp -dist_name -if [ "${dist}" = "Debian" ] || [ "${dist}" = "Ubuntu" ]; then - ${WD}/install-on-debian.sh -else - echo "Not a debian machine" -fi # Run as TESTUSER su "${TESTUSER}" -c "${WD}"/run-robot-tests.sh # "${UI_BROWSER_TEST_OUTPUT}" directory created by TESTUSER from run-robot-tests.sh |