Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(175)

Unified Diff: chromeos-base/autotest/autotest-0.0.1.ebuild

Issue 1787008: Passing AUTOSERV_TEST_ARGS as arguments to autoserv so spaces are preserved between test arguments. (Closed) Base URL: ssh://git@chromiumos-git/chromiumos-overlay.git
Patch Set: Created 10 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos-base/autotest/autotest-0.0.1.ebuild
diff --git a/chromeos-base/autotest/autotest-0.0.1.ebuild b/chromeos-base/autotest/autotest-0.0.1.ebuild
index 004b5086606a10c8001f23f650885f94c24718bf..89f160ef66b9057931289cedac96be441d543c21 100644
--- a/chromeos-base/autotest/autotest-0.0.1.ebuild
+++ b/chromeos-base/autotest/autotest-0.0.1.ebuild
@@ -127,10 +127,15 @@ src_test() {
setup_cross_toolchain
+ local args=()
+ if [[ -n ${AUTOSERV_TEST_ARGS} ]] ; then
+ args=("-a" "${AUTOSERV_TEST_ARGS}")
+ fi
+
local timestamp=$(date +%Y-%m-%d-%H.%M.%S)
# Do not use sudo, it'll unset all your environment
LOGNAME=${SUDO_USER} ./server/autoserv -r /tmp/results.${timestamp} \
- ${AUTOSERV_ARGS}
+ ${AUTOSERV_ARGS} "${args[@]}"
teardown_ssh
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698