Skip to content

Commit

Permalink
Add gsi builds to presubmit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
jemoreira committed Mar 11, 2024
1 parent 9ad6f7b commit 9836a75
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 1 deletion.
30 changes: 30 additions & 0 deletions e2etests/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,33 @@ launch_cvd_boot_test(
target="aosp_cf_x86_64_phone-trunk_staging-userdebug"
)

launch_cvd_boot_test(
name="aosp_android14_phone",
branch="aosp-android14-gsi",
target="aosp_cf_x86_64_phone-userdebug"
)

launch_cvd_boot_test(
name="aosp_android13_phone",
branch="aosp-android13-gsi",
target="aosp_cf_x86_64_phone-userdebug"
)

launch_cvd_boot_test(
name="aosp_android12_phone",
branch="aosp-android12-gsi",
target="aosp_cf_x86_64_phone-userdebug"
)

launch_cvd_boot_test(
name="aosp_android11_phone",
branch="aosp-android11-gsi",
target="aosp_cf_x86_64_phone-userdebug"
)

launch_cvd_boot_test(
name="aosp_android10_phone",
branch="aosp-android10-gsi",
target="aosp_cf_x86_64_phone-userdebug"
)

2 changes: 1 addition & 1 deletion e2etests/launch_cvd_boot_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,6 @@ cvd fetch --default_build="${BRANCH}/${TARGET}" --target_directory="${workdir}"

(
cd "${workdir}"
HOME=$(pwd) bin/launch_cvd --daemon --report_anonymous_usage_stats=y
HOME=$(pwd) bin/launch_cvd --daemon --report_anonymous_usage_stats=y --undefok=report_anonymous_usage_stats
HOME=$(pwd) bin/stop_cvd
)

0 comments on commit 9836a75

Please sign in to comment.