aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSimran Basi2017-08-25 13:50:32 -0500
committerandroid-build-merger2017-08-25 13:50:32 -0500
commit97053a075cefb279fa9e008773649c1dc0acfe3f (patch)
tree1783eb32d403d2740ddf307b2ebebe28e0387485 /envsetup.sh
parentd8c0bb8f61634db9d43bafc495d1cb7378d92d5e (diff)
parent6417aa89e458016335f0563219dc24ca54b31759 (diff)
downloadplatform-build-97053a075cefb279fa9e008773649c1dc0acfe3f.tar.gz
platform-build-97053a075cefb279fa9e008773649c1dc0acfe3f.tar.xz
platform-build-97053a075cefb279fa9e008773649c1dc0acfe3f.zip
Merge "Add shortcut to atest after envsetup.sh is sourced."
am: 6417aa89e4 Change-Id: Ib6ce6fa0aa878cd3bd552979fcef1a2d8c284e86
Diffstat (limited to 'envsetup.sh')
-rw-r--r--envsetup.sh8
1 files changed, 8 insertions, 0 deletions
diff --git a/envsetup.sh b/envsetup.sh
index ab9eca71e..3f718bd87 100644
--- a/envsetup.sh
+++ b/envsetup.sh
@@ -1645,6 +1645,14 @@ function provision()
1645 "$ANDROID_PRODUCT_OUT/provision-device" "$@" 1645 "$ANDROID_PRODUCT_OUT/provision-device" "$@"
1646} 1646}
1647 1647
1648function atest()
1649{
1650 # TODO (sbasi): Replace this to be a destination in the build out when & if
1651 # atest is built by the build system. (This will be necessary if it ever
1652 # depends on external pip projects).
1653 "$(gettop)"/tools/tradefederation/core/atest/atest.py "$@"
1654}
1655
1648if [ "x$SHELL" != "x/bin/bash" ]; then 1656if [ "x$SHELL" != "x/bin/bash" ]; then
1649 case `ps -o command -p $$` in 1657 case `ps -o command -p $$` in
1650 *bash*) 1658 *bash*)