clearlinux / autospec

RPM packaging automation tool
GNU General Public License v3.0
102 stars 59 forks source link

Auto-detect "check" command when using meson #208

Closed cmarcelo closed 4 years ago

bryteise commented 6 years ago

Currently it just always runs check right? Did you want to have this only run when tests are available?

cmarcelo commented 6 years ago

It only have a check block if we provide a command file. I think we can look at the meson build files and if “test(“ pattern is found, have a default ninja test call.

For the typical use cases it will make the command file unnecessary, e.g. we can remove the explicit command file from casync package.

Command file I mean the make_check_command.

phmccarty commented 4 years ago

I will be opening a PR soon to implement the autodetection.