Skip to content

Conversation

@jmacnak
Copy link
Member

@jmacnak jmacnak commented Dec 12, 2025

Adds a new bazel test wrapper that uses the new

cvd fetch --test_suite_build= option from
#1882 to download android cts, to run cts with some given args, and to convert the android cts xml back to bazel friendly xml.

Bug: b/466404901
Test:

bazel test cvd:aosp_android_latest_gfxstream_deqp_vk_smoke_tests \
   --test_output=streamed \
   --test_summary=detailed

shows

INFO: Found 1 test target...
Target //cvd:aosp_android_latest_gfxstream_deqp_vk_smoke_tests up-to-date:
  bazel-bin/cvd/aosp_android_latest_gfxstream_deqp_vk_smoke_tests
INFO: Elapsed time: 154.359s, Critical Path: 154.27s
INFO: 3 processes: 1 action cache hit, 2 internal, 1 local.
INFO: Build completed successfully, 3 total actions
//cvd:aosp_android_latest_gfxstream_deqp_vk_smoke_tests                  PASSED in 154.2s
    PASSED  .dEQP-VK.api.smoke#create_sampler
    PASSED  .dEQP-VK.api.smoke#create_shader
    PASSED  .dEQP-VK.api.smoke#triangle
    PASSED  .dEQP-VK.api.smoke#asm_triangle
    PASSED  .dEQP-VK.api.smoke#asm_triangle_no_opname
    PASSED  .dEQP-VK.api.smoke#unused_resolve_attachment
Test cases: finished with 6 passing, 0 skipped and 0 failing out of 6 test cases

Executed 1 out of 1 test: 1 test passes.

@jmacnak jmacnak force-pushed the end2end-cts-testing branch from 0e4023e to e0064fe Compare December 12, 2025 23:56
@jmacnak jmacnak added the kokoro:force-run Trigger a presubmit build unconditionally. label Dec 13, 2025
@jmacnak jmacnak force-pushed the end2end-cts-testing branch from e0064fe to 709a9f1 Compare December 15, 2025 16:34
@GoogleCuttlefishTesterBot GoogleCuttlefishTesterBot removed the kokoro:force-run Trigger a presubmit build unconditionally. label Dec 15, 2025
@jmacnak jmacnak force-pushed the end2end-cts-testing branch from 709a9f1 to b7dcb6b Compare December 15, 2025 19:17
Adds a new bazel test wrapper that uses the new
`cvd fetch --test_suite_build=` from
google#1882 to download
android cts, to run cts with some given args, and to convert the
android cts xml back to bazel friendly xml.

Bug: b/466404901
Test:
```
bazel test cvd:aosp_android_latest_gfxstream_deqp_vk_smoke_tests \
   --test_output=streamed \
   --test_summary=detailed
```

shows

```
INFO: Found 1 test target...
Target //cvd:aosp_android_latest_gfxstream_deqp_vk_smoke_tests up-to-date:
  bazel-bin/cvd/aosp_android_latest_gfxstream_deqp_vk_smoke_tests
INFO: Elapsed time: 154.359s, Critical Path: 154.27s
INFO: 3 processes: 1 action cache hit, 2 internal, 1 local.
INFO: Build completed successfully, 3 total actions
//cvd:aosp_android_latest_gfxstream_deqp_vk_smoke_tests                  PASSED in 154.2s
    PASSED  .dEQP-VK.api.smoke#create_sampler
    PASSED  .dEQP-VK.api.smoke#create_shader
    PASSED  .dEQP-VK.api.smoke#triangle
    PASSED  .dEQP-VK.api.smoke#asm_triangle
    PASSED  .dEQP-VK.api.smoke#asm_triangle_no_opname
    PASSED  .dEQP-VK.api.smoke#unused_resolve_attachment
Test cases: finished with 6 passing, 0 skipped and 0 failing out of 6 test cases

Executed 1 out of 1 test: 1 test passes.
```
@jmacnak jmacnak force-pushed the end2end-cts-testing branch from b7dcb6b to 718b4bc Compare December 15, 2025 23:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants