File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1
- load ("@rules_rust//rust:defs.bzl" , "rust_library" )
1
+ load ("@rules_rust//rust:defs.bzl" , "rust_library" , "rust_test" )
2
2
3
3
package (default_visibility = ["//visibility:public" ])
4
4
@@ -31,3 +31,11 @@ rust_library(
31
31
],
32
32
deps = DEPENDENCIES ,
33
33
)
34
+
35
+ rust_test (
36
+ name = "test" ,
37
+ size = "small" ,
38
+ srcs = glob (["src/**" ]),
39
+ crate = ":vsock_lib" ,
40
+ deps = DEPENDENCIES ,
41
+ )
Original file line number Diff line number Diff line change @@ -176,6 +176,7 @@ fn upgrade_hostos(upgrade_data: &UpgradeData) -> Response {
176
176
run_upgrade ( )
177
177
}
178
178
179
+ /*
179
180
pub mod tests {
180
181
#[test]
181
182
fn create_hostos_upgrade_file_and_verify_hash() {
@@ -188,3 +189,4 @@ pub mod tests {
188
189
assert!(verify_hash(&hash).unwrap())
189
190
}
190
191
}
192
+ */
You can’t perform that action at this time.
0 commit comments