replicant-vendor_cmsdk/host/migration/README.md
Adnan Begovic d5fdee9833 testing: Host side settings migration verifier.
See README for usage.

Change-Id: Ibcbd4ee3882097a8d01ca219aeef0130778436f6
2015-11-19 19:07:50 -08:00

14 lines
701 B
Markdown

## CMSettings Migration Test
The tests host library contains a simple interface which calls down to a client jar on the device
to take a snapshot of the current settings, forces an update with the current build in the tree,
then verifies the settings post migration.
To run the test (on a live device):
``` java -cp /Volumes/CM/CM13/out/host/darwin-x86/framework/migration-interface.jar MigrationTest \
--settings <example settings> --bootimg <boot.img> --systemimg <system.img> ```
To generate example settings to be written against 12.1 device during migration:
```java -cp /Volumes/CM/CM13/out/host/<platform>/framework/migration-interface.jar GenerateExampleSettings <output file path>"