https://bugzilla.rpmfusion.org/show_bug.cgi?id=7531

--- Comment #15 from Elaine Gibson <[email protected]> ---
(In reply to Nicolas Chauvet from comment #13)
> Thanks for the update.
> 
> Is there any reason the %ctest isn't used in the %check section ?
> 
> As I understand, you are using the %check section to build for a dedicated
> board
> and if building for the board succeed, this is passing the %check. But this
> kind of replace the idea of units tests with something else.
> So at least this needs to be explained.

The Pico SDK has a test/ directory, but these are test programs to be run on
the microcontroller. The Pico2W is the board with the most functionality and
hence widest test coverage.

> Also there is a tendency in RPM Spec files that comments are not appearing
> on the same lines as RPM macros. It's indeed easier to read if the comment
> is ahead of the line (ex: default pico-sdk flags).

Okay, will change in next revision.

> Since you are cross compiling there are many flags that are unlikely to fit
> with your tool chain expectation, so tuning the flags somewhere might be
> expected.
> 
> Ideally the docs and test binaries should be built in %build (in the same
> %cmake_build call), then only running the tests should be done in %check.
> If it cannot be done then you need to mention it.

The tests cannot run natively, they are just being built to verify the SDK can
compile.

I will try to move it into %build, I also wouldn't be against removing %check
here as they are not traditional unit tests.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
rpmfusion-developers mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to