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

Commit e253d822 authored by Brett Chabot's avatar Brett Chabot Committed by The Android Open Source Project
Browse files

AI 143263: am: CL 143102 Add build environment shortcut to runtest.py.

  This change does not affect device code.
  Original author: brettchabot
  Merged from: //branches/cupcake/...

Automated import of CL 143263
parent 35354dc7
Loading
Loading
Loading
Loading
+11 −0
Original line number Diff line number Diff line
@@ -974,6 +974,17 @@ function runtest()
    (cd "$T" && development/tools/runtest $@)
}

# simple shortcut to the runtest.py command
function runtest.py()
{
    T=$(gettop)
    if [ ! "$T" ]; then
        echo "Couldn't locate the top of the tree.  Try setting TOP." >&2
        return
    fi
    (cd "$T" && development/testrunner/runtest.py $@)
}

function godir () {
    if [[ -z "$1" ]]; then
        echo "Usage: godir <regex>"