-
Notifications
You must be signed in to change notification settings - Fork 26
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
Enable SM1000 ctests inside GitHub using QEMU. #12
Conversation
The following STM32 tests currently fail in QEMU:
Will investigate further when I get time. |
Hi @tmiw, this is interesting - it would be very useful if we can run stm32 unit tests without the dev board hardware. Couple of thoughts:
|
Amazon's supposed to deliver a STM32F4 dev board tomorrow so I can find out for sure. Ideally the results would be the same in both. (For context, someone reached out to me on LinkedIn recently trying to get support for Codec2 on STM32 and I noticed some test failures when he tried running the tests on his board. Figured it'd be a good idea to get the tests running consistently because as-is, they're not run often.)
Yep, I'm able to do that on a Linux VM (but not natively on macOS due to hardcoded BTW I looked at the last message I got from the person I talked about and it looks like the first four of the failures I posted above are what he's experiencing, too, so it's likly these failures aren't a result of QEMU. |
…QEMU in the first place.
I'm getting a smaller set of failures in this PR branch, both on actual hardware and QEMU:
(More detailed logging at qemu-ctest-failures.txt.) I suspect these four are legitimate failures. The others mentioned in #13 may have gotten fixed inadvertently by the minimal changes needed for the tests themselves. |
Thanks. As agreed offline - closing with no further action to be performed now reported bugs have been reproduced. QEMU stuff should be useful should we port new waveforms under development to stm32. |
This PR enables ctests for the SM1000 using QEMU by adding
-DUSE_QEMU_FOR_UNITTEST=1
to the SM1000'scmake
command. By doing so, this allows the ctests to run as GitHub actions (also enabled).