Update testing script
Update testing script to add a flag that exempts the instrumentation from hidden API checks. Test: run tests Change-Id: I487458f805c78ff3873e2b0ac4bacba22befa4c9
This commit is contained in:
parent
641a7db21a
commit
0f128dd360
|
@ -121,7 +121,7 @@ _lite_test_general() {
|
|||
if [ $coverage = true ] && [ $project =~ "telecom" ] ; then
|
||||
e_options="${e_options} -e coverage 'true'"
|
||||
fi
|
||||
adb shell am instrument ${e_options} -w "$package_prefix/$instrumentation"
|
||||
adb shell am instrument --no-hidden-api-checks ${e_options} -w "$package_prefix/$instrumentation"
|
||||
|
||||
# Code coverage only enabled for Telecom.
|
||||
if [ $coverage = true ] && [ $project =~ "telecom" ] ; then
|
||||
|
|
Loading…
Reference in New Issue