Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove BENCH_TEST macro #136

Merged
merged 1 commit into from
May 22, 2023
Merged

Remove BENCH_TEST macro #136

merged 1 commit into from
May 22, 2023

Conversation

gustavosr8
Copy link
Contributor

Remove the BENCH_TEST macro by checking if the IPMB pins are unconnected and setting the standalone mode. Resolve #133.

@gustavosr8 gustavosr8 self-assigned this May 17, 2023
port/board/afc-bpm/v3_1/payload.h Outdated Show resolved Hide resolved
port/board/afc-timing/payload.h Outdated Show resolved Hide resolved
modules/sensors/hotswap.c Outdated Show resolved Hide resolved
modules/sensors/hotswap.c Outdated Show resolved Hide resolved
@augustofg
Copy link
Member

Also, just pointing out that saying that the 'IPMB pins are unconnected' can be a bit misleading, since what we are checking is the GAx pins (global address pins) to see if the AMC card is plugged or not to the MicroTCA crate. The IPMB refers to the I2C bus used to transfer IPMI traffic between the AMC and the MCH, but in some cases we might simulate an MCH on the bench and connect the IPMB bus, even though the AMC would be running in the 'standalone' mode.

@gustavosr8 gustavosr8 force-pushed the remove-test-bench-macro branch from 2846e67 to 123b877 Compare May 18, 2023 13:41
@gustavosr8 gustavosr8 requested a review from augustofg May 18, 2023 13:41
@gustavosr8 gustavosr8 force-pushed the remove-test-bench-macro branch from 123b877 to 6d15298 Compare May 18, 2023 17:35
port/board/afc-timing/payload.c Outdated Show resolved Hide resolved
port/board/afc-timing/payload.c Outdated Show resolved Hide resolved
port/board/afc-bpm/v3_1/payload.c Outdated Show resolved Hide resolved
modules/sensors/hotswap.c Outdated Show resolved Hide resolved
modules/sensors/hotswap.c Outdated Show resolved Hide resolved
modules/sensors/hotswap.c Outdated Show resolved Hide resolved
modules/sensors/hotswap.c Outdated Show resolved Hide resolved
port/board/afc-bpm/v3_1/payload.c Outdated Show resolved Hide resolved
@gustavosr8 gustavosr8 force-pushed the remove-test-bench-macro branch 2 times, most recently from 8511b8d to 735317f Compare May 19, 2023 15:47
@gustavosr8 gustavosr8 requested a review from augustofg May 19, 2023 15:48
@augustofg augustofg merged commit 35ef82f into devel May 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants