summaryrefslogtreecommitdiffstats
path: root/tests/unit/host (unfollow)
Commit message (Collapse)AuthorFilesLines
2019-07-31Simulator: add the argument to keep the updated imagesTianjie Xu1-2/+2
Add the command line option to select the work directory and save the updated image files. Because some people might have interested in getting updated images from an ota file. Also, fix a minor issue that the destination of package_extract_file needs to be updated if it's a block device. Otherwise, an unintended file may be extracted in the callers' directory. Test: run simulation, run unit tests Change-Id: Ic6a7db0580bc1748d6e080102e4654da4e41fd8c
2019-06-28Add unit tests for simulatorTianjie Xu2-0/+1517
Make sure the simulator succeeds executing common non-A/B update functions. Bug: 131911365 Test: run unit tests Change-Id: I520ce6a8827539b88a9e36f9e67eec30d8b586d4