Merge "Add shortcut to atest after envsetup.sh is sourced."
This commit is contained in:
@@ -1635,6 +1635,14 @@ function provision()
|
|||||||
"$ANDROID_PRODUCT_OUT/provision-device" "$@"
|
"$ANDROID_PRODUCT_OUT/provision-device" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function atest()
|
||||||
|
{
|
||||||
|
# TODO (sbasi): Replace this to be a destination in the build out when & if
|
||||||
|
# atest is built by the build system. (This will be necessary if it ever
|
||||||
|
# depends on external pip projects).
|
||||||
|
"$(gettop)"/tools/tradefederation/core/atest/atest.py "$@"
|
||||||
|
}
|
||||||
|
|
||||||
if [ "x$SHELL" != "x/bin/bash" ]; then
|
if [ "x$SHELL" != "x/bin/bash" ]; then
|
||||||
case `ps -o command -p $$` in
|
case `ps -o command -p $$` in
|
||||||
*bash*)
|
*bash*)
|
||||||
|
Reference in New Issue
Block a user