Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6e16916d authored by Simran Basi's avatar Simran Basi Committed by android-build-merger
Browse files

Merge "Add shortcut to atest after envsetup.sh is sourced." am: 6417aa89

am: 97053a07

Change-Id: Iaac2208f6fdcceb5740f4c004ebd4ccc26d3f7c6
parents e0474219 97053a07
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -1645,6 +1645,14 @@ function provision()
    "$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
    case `ps -o command -p $$` in
        *bash*)