File tree 1 file changed +14
-1
lines changed
1 file changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -108,13 +108,26 @@ fn run_vm_tests(opt: &QemuOpt) -> Result<()> {
108
108
/// with VM tests, but a few things like macros and data types can be
109
109
/// tested with regular tests.
110
110
fn run_host_tests ( ) -> Result < ( ) > {
111
+ // Run xtask tests.
112
+ let cargo = Cargo {
113
+ action : CargoAction :: Test ,
114
+ features : Vec :: new ( ) ,
115
+ toolchain : None ,
116
+ packages : vec ! [ Package :: Xtask ] ,
117
+ release : false ,
118
+ target : None ,
119
+ warnings_as_errors : false ,
120
+ } ;
121
+ run_cmd ( cargo. command ( ) ?) ?;
122
+
123
+ // Run uefi-rs and uefi-macros tests.
111
124
let cargo = Cargo {
112
125
action : CargoAction :: Test ,
113
126
features : vec ! [ Feature :: Exts ] ,
114
127
toolchain : Some ( NIGHTLY . into ( ) ) ,
115
128
// Don't test uefi-services (or the packages that depend on it)
116
129
// as it has lang items that conflict with `std`.
117
- packages : vec ! [ Package :: Uefi , Package :: UefiMacros , Package :: Xtask ] ,
130
+ packages : vec ! [ Package :: Uefi , Package :: UefiMacros ] ,
118
131
release : false ,
119
132
// Use the host target so that tests can run without a VM.
120
133
target : None ,
You can’t perform that action at this time.
0 commit comments