-
Notifications
You must be signed in to change notification settings - Fork 283
/
suite.ml
51 lines (45 loc) · 1.36 KB
/
suite.ml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
(*
* Copyright (C) 2006-2012 Citrix Systems Inc.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU Lesser General Public License as published
* by the Free Software Foundation; version 2.1 only. with the special
* exception on linking described in file LICENSE.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU Lesser General Public License for more details.
*)
open OUnit
let test_basic =
let open Test_basic in
"test_basic" >:::
[
"test_always_pass" >:: test_always_pass ;
"test_always_fail" >:: test_always_fail ;
"test_mock_db" >:: test_mock_db ;
"test_assert_licensed_storage_motion" >:: test_assert_licensed_storage_motion ;
]
let test_db_backup =
"test_db_backup" >:::
[
"test_prepare_restore" >:: Test_pool_db_backup.test_prepare_restore;
]
let test_db_upgrade =
let open Test_xapi_db_upgrade in
"test_db_upgrade" >:::
[
"upgrade_vm_memory_for_dmc" >:: upgrade_vm_memory_for_dmc;
"upgrade_bios" >:: upgrade_bios;
"update_snapshots" >:: update_snapshots;
]
let base_suite =
"base_suite" >:::
[
test_basic;
test_db_backup;
test_db_upgrade;
Test_ca91480.test;
]
let _ = run_test_tt_main base_suite