diff options
| author | 2021-04-22 16:40:24 +0000 | |
|---|---|---|
| committer | 2021-04-22 16:40:24 +0000 | |
| commit | 4d48aa52559f99da1a03ef6e055ec95f9953287f (patch) | |
| tree | 59a4c099d7319a3cd0153e0a2d1872e350a5e13e /android/paths_test.go | |
| parent | 80c2377089863152a55215c3295d2fcf23d0582e (diff) | |
| parent | 836a8f3d613a51d496740dcefaf5b66a4cb86ba2 (diff) | |
Merge "Revert^2 "Add debug ramdisk variant""
Diffstat (limited to 'android/paths_test.go')
| -rw-r--r-- | android/paths_test.go | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/android/paths_test.go b/android/paths_test.go index 6ec75b42b..cb9138b98 100644 --- a/android/paths_test.go +++ b/android/paths_test.go @@ -395,6 +395,19 @@ func TestPathForModuleInstall(t *testing.T) { partitionDir: "target/product/test_device/vendor_ramdisk", }, { + name: "debug_ramdisk binary", + ctx: &testModuleInstallPathContext{ + baseModuleContext: baseModuleContext{ + os: deviceTarget.Os, + target: deviceTarget, + }, + inDebugRamdisk: true, + }, + in: []string{"my_test"}, + out: "target/product/test_device/debug_ramdisk/my_test", + partitionDir: "target/product/test_device/debug_ramdisk", + }, + { name: "system native test binary", ctx: &testModuleInstallPathContext{ baseModuleContext: baseModuleContext{ @@ -733,6 +746,19 @@ func TestPathForModuleInstallRecoveryAsBoot(t *testing.T) { out: "target/product/test_device/vendor_ramdisk/first_stage_ramdisk/my_test", partitionDir: "target/product/test_device/vendor_ramdisk/first_stage_ramdisk", }, + { + name: "debug_ramdisk binary", + ctx: &testModuleInstallPathContext{ + baseModuleContext: baseModuleContext{ + os: deviceTarget.Os, + target: deviceTarget, + }, + inDebugRamdisk: true, + }, + in: []string{"my_test"}, + out: "target/product/test_device/debug_ramdisk/first_stage_ramdisk/my_test", + partitionDir: "target/product/test_device/debug_ramdisk/first_stage_ramdisk", + }, } for _, tc := range testCases { |