summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Plass <mplass@google.com>2018-01-11 14:21:42 -0800
committerDan Willemsen <dwillemsen@google.com>2018-04-04 10:58:25 -0700
commit42e7ca5cf3eb5351ac1210e25926263724849db9 (patch)
tree3871e4e0ed5308a5c78316cccfe2d971c1e0fdae
parent1131e0531b8d197ea5de50323d629aad2e186c47 (diff)
downloadwifi-42e7ca5cf3eb5351ac1210e25926263724849db9.tar.gz
wifitests/coverage.sh Fix command line options
The new version of the jacoco command line uses --option instead of -option. Bug: 71866489 Test: frameworks/opt/net/wifi/tests/wifitests/coverage.sh /tmp/someplace Change-Id: I06f995097a443e899f4fdd5606b561f65e5cd464 Merged-In: I06f995097a443e899f4fdd5606b561f65e5cd464 (cherry picked from commit aaa452ec260c72cb27e18d117b4b2f3798469c71)
-rwxr-xr-xtests/wifitests/coverage.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/tests/wifitests/coverage.sh b/tests/wifitests/coverage.sh
index b10ceafcd..fd7055616 100755
--- a/tests/wifitests/coverage.sh
+++ b/tests/wifitests/coverage.sh
@@ -58,10 +58,11 @@ adb pull $REMOTE_COVERAGE_OUTPUT_FILE $COVERAGE_OUTPUT_FILE
java -jar $REPORTER_JAR \
report \
- -classfiles $ANDROID_PRODUCT_OUT/../../common/obj/APPS/FrameworksWifiTests_intermediates/jacoco/report-resources/jacoco-report-classes.jar \
- -html $OUTPUT_DIR \
- -sourcefiles $ANDROID_BUILD_TOP/frameworks/opt/net/wifi/tests/wifitests/src -sourcefiles $ANDROID_BUILD_TOP/frameworks/opt/net/wifi/service/java \
- -name wifi-coverage \
+ --classfiles $ANDROID_PRODUCT_OUT/../../common/obj/APPS/FrameworksWifiTests_intermediates/jacoco/report-resources/jacoco-report-classes.jar \
+ --html $OUTPUT_DIR \
+ --sourcefiles $ANDROID_BUILD_TOP/frameworks/opt/net/wifi/tests/wifitests/src \
+ --sourcefiles $ANDROID_BUILD_TOP/frameworks/opt/net/wifi/service/java \
+ --name wifi-coverage \
$COVERAGE_OUTPUT_FILE
echo Created report at $OUTPUT_DIR/index.html