blob: c15b632c7fb112e10c1fa353501a3cab219d6a6e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
## CMSettings Migration Test
The tests host library contains a simple interface which calls down to a client interface on the device
to take a snapshot of the current settings, forces an update with the current build defined in params,
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> ```
|