Commit Graph

8 Commits

Author SHA1 Message Date
David Brazdil 5f7c3c72c4 Move AVF tests to avf-pre/postsubmit test group
AVF presubmit test config currently runs all tests in the 'presubmit'
group. However, in presubmit the test configs are invoked with all
TEST_MAPPING paths from all affected CLs. Our test config can therefore
run tests from TEST_MAPPINGs outside of the Virtualization repo.

To work around this problem, move all Virtualization tests to
'avf-presubmit' group. Test config running in presubmit will still be
invoked with TEST_MAPPINGs from various repos but only our tests will
match the group.

Rename the postsubmit group to 'avf-postsubmit' for consistency.

Bug: 236755822
Test: atest --test-mapping packages/modules/Virtualization:avf-presubmit
Test: atest --test-mapping packages/modules/Virtualization:avf-postsubmit
Change-Id: I7be5781bef4b6e060a69724c7b4256423adc649c
2022-08-19 15:40:57 +00:00
Alice Wang 1109d8372e Run avmdtool_tests as rust_test
We used to run avmdtool_tests as rust_test_host because rust_test
also runs the data_bins as test. Now the bug has been fixed, so
that we can change avmdtool_tests to rust_test to make it easier
to maintain.

Bug: 233732515
Test: atest avmdtool_tests
Change-Id: I58088b1f63c22caf49a6ae8328cb145aa80e167c
2022-08-18 11:32:31 +00:00
Alice Wang 95c1b92df8 Add integration test for avmdtool dump
Bug: 239534874
Test: atest avmdtool_tests
Change-Id: I2a4713e23d81cbe482a5b9d1a8c37ec135ca3fb2
2022-08-09 13:41:36 +00:00
Jeffrey Vander Stoep 3d5d2668c5 Merge "migrate to clap 3.x" 2022-07-29 23:05:03 +00:00
Jeff Vander Stoep a8dc271b7f migrate to clap 3.x
Bug: 229854484
Test: atest
Change-Id: Iae1ad1b5f7c2832c11bf2db09e7985ddaaf927d4
2022-07-29 05:48:40 +02:00
Alice Wang 176354ce76 avmd:Make libavmd no_std
Bug: 240459942
Test: m avmdtool
Change-Id: I395ddd7aba970c5ff94b8eff7b8d06a553ff036d
2022-07-28 08:21:25 +00:00
Jeff Vander Stoep abc89252bd Temporarily use libclap_deprecated
Temporarily use clap 2.x during the migration process to 3.x.

Bug: 229854484
Test: atest
Change-Id: Ic1991b5b923bf38f8f70e7da07d6d91bc07e1d3c
2022-07-27 00:15:25 +02:00
Alice Wang e089a21dd5 Add avmdtool
This CL is a starting point for the avmdtool. We will improve
incrementally from here later.

Bug: 234564414
Test: manual
Change-Id: I588de80fe37826d55af347b64872e98ac1e81624
2022-07-20 13:47:02 +00:00