Skip to content

Commit

Permalink
CP-45921: Code refine for
Browse files Browse the repository at this point in the history
- Move test code to its own suite
- Replace active with manager, which is static
- Add cmd_line record type to abstract cmd line type
- Refine doc comment and license

Signed-off-by: Lin Liu <[email protected]>
  • Loading branch information
liulinC committed Apr 3, 2024
1 parent d915924 commit 025116d
Show file tree
Hide file tree
Showing 8 changed files with 297 additions and 199 deletions.
6 changes: 3 additions & 3 deletions ocaml/tests/dune
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
test_vm_placement test_vm_helpers test_repository test_repository_helpers
test_ref
test_livepatch test_rpm test_updateinfo test_storage_smapiv1_wrapper test_storage_quicktest test_observer
test_pool_periodic_update_sync))
test_pool_periodic_update_sync test_pkg_mgr))
(libraries
alcotest
angstrom
Expand Down Expand Up @@ -60,13 +60,13 @@
(tests
(names test_vm_helpers test_vm_placement test_network_sriov test_vdi_cbt
test_clustering test_pusb test_daemon_manager test_repository test_repository_helpers
test_livepatch test_rpm test_updateinfo test_pool_periodic_update_sync)
test_livepatch test_rpm test_updateinfo test_pool_periodic_update_sync test_pkg_mgr)
(package xapi)
(modes exe)
(modules test_vm_helpers test_vm_placement test_network_sriov test_vdi_cbt
test_event test_clustering test_cluster_host test_cluster test_pusb
test_daemon_manager test_repository test_repository_helpers test_livepatch test_rpm
test_updateinfo test_pool_periodic_update_sync)
test_updateinfo test_pool_periodic_update_sync test_pkg_mgr)
(libraries
alcotest
fmt
Expand Down
1 change: 0 additions & 1 deletion ocaml/tests/suite_alcotest.ml
Original file line number Diff line number Diff line change
Expand Up @@ -71,5 +71,4 @@ let () =
@ Test_session.tests
@ Test_xapi_cmd_result.tests
@ Test_extauth_plugin_ADwinbind.tests
@ Test_pkg_mgr.tests
)
Loading

0 comments on commit 025116d

Please sign in to comment.