diff options
author | Simran Basi | 2017-08-25 13:50:32 -0500 |
---|---|---|
committer | android-build-merger | 2017-08-25 13:50:32 -0500 |
commit | 97053a075cefb279fa9e008773649c1dc0acfe3f (patch) | |
tree | 1783eb32d403d2740ddf307b2ebebe28e0387485 /envsetup.sh | |
parent | d8c0bb8f61634db9d43bafc495d1cb7378d92d5e (diff) | |
parent | 6417aa89e458016335f0563219dc24ca54b31759 (diff) | |
download | platform-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.sh | 8 |
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 | ||
1648 | function 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 | |||
1648 | if [ "x$SHELL" != "x/bin/bash" ]; then | 1656 | if [ "x$SHELL" != "x/bin/bash" ]; then |
1649 | case `ps -o command -p $$` in | 1657 | case `ps -o command -p $$` in |
1650 | *bash*) | 1658 | *bash*) |