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

Commit 9ac76ada authored by Harish Mahendrakar's avatar Harish Mahendrakar
Browse files

benchmark: Fix inconsistencies in README.md

Fix few inconsistencies w.r.t. usage of $OUT
Fix name of the apk to be installed

Bug: 140051680
Test: follow steps in README.md and run couple of benchmark tests
Change-Id: I29fd338bcc4cb127656c10c24af30fa98f656a14
parent b8ec243b
Loading
Loading
Loading
Loading
+5 −5
Original line number Diff line number Diff line
@@ -14,11 +14,11 @@ mmm frameworks/av/media/tests/benchmark/

To run the test suite for measuring performance of the native layer, follow the following steps:

The binaries will be created in the following path : ${OUT}/data/nativetest64/
The binaries will be created in the following path : $OUT/data/nativetest64/

adb push $(OUT)/data/nativetest64/* /data/local/tmp/
adb push $OUT/data/nativetest64/* /data/local/tmp/

Eg. adb push $(OUT)/data/nativetest64/extractorTest/extractorTest /data/local/tmp/
Eg. adb push $OUT/data/nativetest64/extractorTest/extractorTest /data/local/tmp/

To run the binary, follow the commands mentioned below under each module.

@@ -78,13 +78,13 @@ adb shell /data/local/tmp/encoderTest -P /data/local/tmp/MediaBenchmark/res/
To run the test suite for measuring performance of the SDK APIs, follow the following steps:

The apk will be created at the following path:
${OUT}/testcases/MediaBenchmarkApp/arm64/
$OUT/testcases/MediaBenchmarkTest/arm64/

To get the resorce files for the test follow instructions given in [NDK](#NDK)

For installing the apk, run the command:
```
adb install -f -r ${OUT}/testcases/MediaBenchmarkApp/arm64/MediaBenchmarkApp.apk
adb install -f -r $OUT/testcases/MediaBenchmarkTest/arm64/MediaBenchmarkTest.apk
```

For running all the tests, run the command: