Skip to content

Comments

Replace e2e cvd runner scripts with shared go library#2170

Open
jmacnak wants to merge 1 commit intogoogle:mainfrom
jmacnak:kokoro-gpu
Open

Replace e2e cvd runner scripts with shared go library#2170
jmacnak wants to merge 1 commit intogoogle:mainfrom
jmacnak:kokoro-gpu

Conversation

@jmacnak
Copy link
Member

@jmacnak jmacnak commented Feb 20, 2026

... to consolidate all of the duplicated logic and to make it easier to introduce new tests without having to create a new shell file + bazel rule type.

The main motivation for this was to avoid also having to download the device-tests.zip in addition to CTS in order to run the graphics detector tests. With this PR, adding e2etests/cvd/graphics_detector_tests/main_test.go was pretty minimal.

Note: the CTS tests remain as separate build targets as I did not find a straightforward way to dynamically produce tests based on CTS args.

Bug: b/466404901
Test:

cd e2etests
bazel test cvd/...

This is first real golang CL so please be brutal with the comments :P

@jmacnak jmacnak force-pushed the kokoro-gpu branch 7 times, most recently from e1a2040 to 58f7a47 Compare February 24, 2026 00:25
@jmacnak jmacnak changed the title WIP: Replace e2e cvd runner scripts with shared go library Replace e2e cvd runner scripts with shared go library Feb 24, 2026
@jmacnak jmacnak requested review from Databean and ser-io February 24, 2026 16:21
@jmacnak jmacnak force-pushed the kokoro-gpu branch 2 times, most recently from 7ef93a2 to cab0892 Compare February 24, 2026 18:59
@jmacnak jmacnak force-pushed the kokoro-gpu branch 3 times, most recently from 6c4b05e to 7d8a875 Compare February 24, 2026 20:11
... to consolidate all of the duplicated logic and to make it
easier to introduce new tests without having to create a new
shell file + bazel rule type. This change tries to match the
style of the e2etests/orchestration directory.

Note: the CTS tests remain as separate build targets as I did not
find a straightforward way to dynamically produce tests based on
CTS args.

Bug: b/466404901
Test: cd e2etests
      bazel test cvd/...
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