Skip to content

Implement "timeout" support for Rust #148645

Implement "timeout" support for Rust

Implement "timeout" support for Rust #148645

Triggered via pull request September 10, 2024 22:31
Status Success
Total duration 2m 30s
Artifacts 1

compliance.yml

on: pull_request
Run compliance checks on patch series (PR)
2m 21s
Run compliance checks on patch series (PR)
Fit to window
Zoom out
Zoom in

Annotations

1 error, 1 warning, and 2 notices
Run compliance checks on patch series (PR)
Process completed with exit code 1.
Run compliance checks on patch series (PR): ClangFormat.txt#L1
See https://docs.zephyrproject.org/latest/contribute/guidelines.html#clang-format for more details. You may want to run clang-format on this change: -#define DUR_TEST(unit, n) \ - { \ - .name = "Duration " #unit " " #n, \ - .units = UNIT_DUR_ ## unit, \ - .uvalue = n, \ - .value = K_ ## unit(n), \ +#define DUR_TEST(unit, n) \ + { \ + .name = "Duration " #unit " " #n, \ + .units = UNIT_DUR_##unit, \ + .uvalue = n, \ + .value = K_##unit(n), \ File:tests/lib/rust/time/src/times.c Line:47 You may want to run clang-format on this change: - /* The Instance tests don't set the `.value` because it isn't constant, and the test code - * will calculate the value at runtime, using the conversion functions below. - */ -#define INST_TEST(unit, n) \ - { \ - .name = "Instant " #unit " " #n, \ - .units = UNIT_INST_ ## unit, \ - .uvalue = n, \ +/* The Instance tests don't set the `.value` because it isn't constant, and the test code + * will calculate the value at runtime, using the conversion functions below. + */ +#define INST_TEST(unit, n) \ + { \ + .name = "Instant " #unit " " #n, \ + .units = UNIT_INST_##unit, \ + .uvalue = n, \ File:tests/lib/rust/time/src/times.c Line:68
You may want to run clang-format on this change: tests/lib/rust/time/src/times.c#L47
tests/lib/rust/time/src/times.c:47 -#define DUR_TEST(unit, n) \ - { \ - .name = "Duration " #unit " " #n, \ - .units = UNIT_DUR_ ## unit, \ - .uvalue = n, \ - .value = K_ ## unit(n), \ +#define DUR_TEST(unit, n) \ + { \ + .name = "Duration " #unit " " #n, \ + .units = UNIT_DUR_##unit, \ + .uvalue = n, \ + .value = K_##unit(n), \
You may want to run clang-format on this change: tests/lib/rust/time/src/times.c#L68
tests/lib/rust/time/src/times.c:68 - /* The Instance tests don't set the `.value` because it isn't constant, and the test code - * will calculate the value at runtime, using the conversion functions below. - */ -#define INST_TEST(unit, n) \ - { \ - .name = "Instant " #unit " " #n, \ - .units = UNIT_INST_ ## unit, \ - .uvalue = n, \ +/* The Instance tests don't set the `.value` because it isn't constant, and the test code + * will calculate the value at runtime, using the conversion functions below. + */ +#define INST_TEST(unit, n) \ + { \ + .name = "Instant " #unit " " #n, \ + .units = UNIT_INST_##unit, \ + .uvalue = n, \

Artifacts

Produced during runtime
Name Size
compliance.xml
911 Bytes