@@ -166,11 +166,6 @@ jobs:
166
166
cp samples/rust/rust_module_parameters.rs samples/rust/rust_module_parameters_loadable_default.rs
167
167
cp samples/rust/rust_module_parameters.rs samples/rust/rust_module_parameters_loadable_custom.rs
168
168
169
- sed -i 's:" my_:" built-in default my_:g' samples/rust/rust_module_parameters_builtin_default.rs
170
- sed -i 's:" my_:" built-in custom my_:g' samples/rust/rust_module_parameters_builtin_custom.rs
171
- sed -i 's:" my_:" loadable default my_:g' samples/rust/rust_module_parameters_loadable_default.rs
172
- sed -i 's:" my_:" loadable custom my_:g' samples/rust/rust_module_parameters_loadable_custom.rs
173
-
174
169
sed -i 's:rust_module_parameters:rust_module_parameters_builtin_default:g' samples/rust/rust_module_parameters_builtin_default.rs
175
170
sed -i 's:rust_module_parameters:rust_module_parameters_builtin_custom:g' samples/rust/rust_module_parameters_builtin_custom.rs
176
171
sed -i 's:rust_module_parameters:rust_module_parameters_loadable_default:g' samples/rust/rust_module_parameters_loadable_default.rs
@@ -217,43 +212,94 @@ jobs:
217
212
218
213
# Check
219
214
- run : |
220
- grep '] Rust minimal sample (init)$' qemu-stdout.log
221
- grep '] Rust minimal sample (exit)$' qemu-stdout.log
222
-
223
- grep '] Rust module parameters sample (init)$' qemu-stdout.log
224
- grep '] built-in default my_bool: true$' qemu-stdout.log
225
- grep '] built-in default my_i32: 42$' qemu-stdout.log
226
- grep '] built-in default my_str: default str val$' qemu-stdout.log
227
- grep '] built-in default my_usize: 42$' qemu-stdout.log
228
- grep '] built-in default my_array: \[0, 1]$' qemu-stdout.log
229
- grep '] built-in custom my_bool: false$' qemu-stdout.log
230
- grep '] built-in custom my_i32: 345543$' qemu-stdout.log
231
- grep '] built-in custom my_str: 🦀mod$' qemu-stdout.log
232
- grep '] built-in custom my_usize: 84$' qemu-stdout.log
233
- grep '] built-in custom my_array: \[1, 2, 3]$' qemu-stdout.log
234
- grep '] loadable default my_bool: true$' qemu-stdout.log
235
- grep '] loadable default my_i32: 42$' qemu-stdout.log
236
- grep '] loadable default my_str: default str val$' qemu-stdout.log
237
- grep '] loadable default my_usize: 42$' qemu-stdout.log
238
- grep '] loadable default my_array: \[0, 1]$' qemu-stdout.log
239
- grep '] loadable custom my_bool: false$' qemu-stdout.log
240
- grep '] loadable custom my_i32: 345543$' qemu-stdout.log
241
- grep '] loadable custom my_str: 🦀mod$' qemu-stdout.log
242
- grep '] loadable custom my_usize: 84$' qemu-stdout.log
243
- grep '] loadable custom my_array: \[1, 2, 3]$' qemu-stdout.log
244
- grep '] Rust module parameters sample (exit)$' qemu-stdout.log
245
-
246
- grep '] Rust synchronisation primitives sample (init)$' qemu-stdout.log
247
- grep '] Rust synchronisation primitives sample (exit)$' qemu-stdout.log
248
-
249
- grep '] Rust character device sample (init)$' qemu-stdout.log
250
- grep '] Rust character device sample (exit)$' qemu-stdout.log
251
-
252
- grep '] Rust miscellaneous device sample (init)$' qemu-stdout.log
253
- grep '] Rust miscellaneous device sample (exit)$' qemu-stdout.log
254
-
255
- grep '] Rust stack probing sample (init)$' qemu-stdout.log
256
- grep '] Rust stack probing sample (exit)$' qemu-stdout.log
215
+ grep '] rust_minimal: Rust minimal sample (init)$' qemu-stdout.log
216
+ grep '] rust_minimal: Rust minimal sample (exit)$' qemu-stdout.log
217
+
218
+ - run : |
219
+ grep '] rust_print: Rust printing macros sample (init)$' qemu-stdout.log
220
+
221
+ grep '] rust_print: Emergency message (level 0) with newline w/o args$' qemu-stdout.log
222
+ grep '] rust_print: Alert message (level 1) with newline w/o args$' qemu-stdout.log
223
+ grep '] rust_print: Critical message (level 2) with newline w/o args$' qemu-stdout.log
224
+ grep '] rust_print: Error message (level 3) with newline w/o args$' qemu-stdout.log
225
+ grep '] rust_print: Warning message (level 4) with newline w/o args$' qemu-stdout.log
226
+ grep '] rust_print: Notice message (level 5) with newline w/o args$' qemu-stdout.log
227
+ grep '] rust_print: Info message (level 6) with newline w/o args$' qemu-stdout.log
228
+ grep '] rust_print: A line that is continued with newline w/o args$' qemu-stdout.log
229
+
230
+ grep '] rust_print: Emergency message (level 0) w/o newline w/o args$' qemu-stdout.log
231
+ grep '] rust_print: Alert message (level 1) w/o newline w/o args$' qemu-stdout.log
232
+ grep '] rust_print: Critical message (level 2) w/o newline w/o args$' qemu-stdout.log
233
+ grep '] rust_print: Error message (level 3) w/o newline w/o args$' qemu-stdout.log
234
+ grep '] rust_print: Warning message (level 4) w/o newline w/o args$' qemu-stdout.log
235
+ grep '] rust_print: Notice message (level 5) w/o newline w/o args$' qemu-stdout.log
236
+ grep '] rust_print: Info message (level 6) w/o newline w/o args$' qemu-stdout.log
237
+ grep '] rust_print: A line that is continued w/o newline w/o args$' qemu-stdout.log
238
+
239
+ grep '] rust_print: Emergency message (level 0) with newline with args$' qemu-stdout.log
240
+ grep '] rust_print: Alert message (level 1) with newline with args$' qemu-stdout.log
241
+ grep '] rust_print: Critical message (level 2) with newline with args$' qemu-stdout.log
242
+ grep '] rust_print: Error message (level 3) with newline with args$' qemu-stdout.log
243
+ grep '] rust_print: Warning message (level 4) with newline with args$' qemu-stdout.log
244
+ grep '] rust_print: Notice message (level 5) with newline with args$' qemu-stdout.log
245
+ grep '] rust_print: Info message (level 6) with newline with args$' qemu-stdout.log
246
+ grep '] rust_print: A line that is continued with newline with args$' qemu-stdout.log
247
+
248
+ grep '] rust_print: Emergency message (level 0) w/o newline with args$' qemu-stdout.log
249
+ grep '] rust_print: Alert message (level 1) w/o newline with args$' qemu-stdout.log
250
+ grep '] rust_print: Critical message (level 2) w/o newline with args$' qemu-stdout.log
251
+ grep '] rust_print: Error message (level 3) w/o newline with args$' qemu-stdout.log
252
+ grep '] rust_print: Warning message (level 4) w/o newline with args$' qemu-stdout.log
253
+ grep '] rust_print: Notice message (level 5) w/o newline with args$' qemu-stdout.log
254
+ grep '] rust_print: Info message (level 6) w/o newline with args$' qemu-stdout.log
255
+ grep '] rust_print: A line that is continued w/o newline with args$' qemu-stdout.log
256
+
257
+ grep '] rust_print: Rust printing macros sample (exit)$' qemu-stdout.log
258
+
259
+ - run : |
260
+ grep '] rust_module_parameters: Rust module parameters sample (init)$' qemu-stdout.log
261
+
262
+ grep '] rust_module_parameters_builtin_default: my_bool: true$' qemu-stdout.log
263
+ grep '] rust_module_parameters_builtin_default: my_i32: 42$' qemu-stdout.log
264
+ grep '] rust_module_parameters_builtin_default: my_str: default str val$' qemu-stdout.log
265
+ grep '] rust_module_parameters_builtin_default: my_usize: 42$' qemu-stdout.log
266
+ grep '] rust_module_parameters_builtin_default: my_array: \[0, 1]$' qemu-stdout.log
267
+
268
+ grep '] rust_module_parameters_builtin_custom: my_bool: false$' qemu-stdout.log
269
+ grep '] rust_module_parameters_builtin_custom: my_i32: 345543$' qemu-stdout.log
270
+ grep '] rust_module_parameters_builtin_custom: my_str: 🦀mod$' qemu-stdout.log
271
+ grep '] rust_module_parameters_builtin_custom: my_usize: 84$' qemu-stdout.log
272
+ grep '] rust_module_parameters_builtin_custom: my_array: \[1, 2, 3]$' qemu-stdout.log
273
+
274
+ grep '] rust_module_parameters_loadable_default: my_bool: true$' qemu-stdout.log
275
+ grep '] rust_module_parameters_loadable_default: my_i32: 42$' qemu-stdout.log
276
+ grep '] rust_module_parameters_loadable_default: my_str: default str val$' qemu-stdout.log
277
+ grep '] rust_module_parameters_loadable_default: my_usize: 42$' qemu-stdout.log
278
+ grep '] rust_module_parameters_loadable_default: my_array: \[0, 1]$' qemu-stdout.log
279
+
280
+ grep '] rust_module_parameters_loadable_custom: my_bool: false$' qemu-stdout.log
281
+ grep '] rust_module_parameters_loadable_custom: my_i32: 345543$' qemu-stdout.log
282
+ grep '] rust_module_parameters_loadable_custom: my_str: 🦀mod$' qemu-stdout.log
283
+ grep '] rust_module_parameters_loadable_custom: my_usize: 84$' qemu-stdout.log
284
+ grep '] rust_module_parameters_loadable_custom: my_array: \[1, 2, 3]$' qemu-stdout.log
285
+
286
+ grep '] rust_module_parameters: Rust module parameters sample (exit)$' qemu-stdout.log
287
+
288
+ - run : |
289
+ grep '] rust_sync: Rust synchronisation primitives sample (init)$' qemu-stdout.log
290
+ grep '] rust_sync: Rust synchronisation primitives sample (exit)$' qemu-stdout.log
291
+
292
+ - run : |
293
+ grep '] rust_chrdev: Rust character device sample (init)$' qemu-stdout.log
294
+ grep '] rust_chrdev: Rust character device sample (exit)$' qemu-stdout.log
295
+
296
+ - run : |
297
+ grep '] rust_miscdev: Rust miscellaneous device sample (init)$' qemu-stdout.log
298
+ grep '] rust_miscdev: Rust miscellaneous device sample (exit)$' qemu-stdout.log
299
+
300
+ - run : |
301
+ grep '] rust_stack_probing: Rust stack probing sample (init)$' qemu-stdout.log
302
+ grep '] rust_stack_probing: Rust stack probing sample (exit)$' qemu-stdout.log
257
303
258
304
# Report
259
305
- run : |
0 commit comments