diff options
| author | 2024-11-06 16:27:22 -0800 | |
|---|---|---|
| committer | 2024-11-06 16:27:22 -0800 | |
| commit | 0c737dc8f0e40d585cb45c0ee7cc3a834d5caf37 (patch) | |
| tree | 999163c31961ec184a973a12f7ea43ccf3682059 | |
| parent | 591470a118da74c17e8aa83c3ece812c45cd4d60 (diff) | |
Add -t to run-ravenwood-tests.sh
To print log to console
Flag: EXEMPT host test change only
Bug: 292141694
Test: $ANDROID_BUILD_TOP/frameworks/base/ravenwood/scripts/run-ravenwood-tests.sh
Change-Id: I8c0a007165571e7d55eba737396da71508e1553a
| -rwxr-xr-x | ravenwood/scripts/run-ravenwood-tests.sh | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/ravenwood/scripts/run-ravenwood-tests.sh b/ravenwood/scripts/run-ravenwood-tests.sh index 1910100a7f5d..fe2269a8dc38 100755 --- a/ravenwood/scripts/run-ravenwood-tests.sh +++ b/ravenwood/scripts/run-ravenwood-tests.sh @@ -33,7 +33,7 @@ include_re="" exclude_re="" smoke_exclude_re="" dry_run="" -while getopts "sx:f:d" opt; do +while getopts "sx:f:dt" opt; do case "$opt" in s) # Remove slow tests. @@ -51,6 +51,9 @@ case "$opt" in # Dry run dry_run="echo" ;; + t) + export RAVENWOOD_LOG_OUT=$(tty) + ;; '?') exit 1 ;; |