zef icon indicating copy to clipboard operation
zef copied to clipboard

Feature Request: provide a list of modules for `zef smoke`

Open zoffixznet opened this issue 8 years ago • 1 comments

Not sure if there's a way to do so already, but would be great if I could feed zef smoke a module list to test via JSON or test file or something.

DateTime::TimeZone has a billion tests and takes forever. Some modules have been busted for months too. Basically, I'd like to be able to exclude a bunch of modules I don't want to smoke, so being able to provide a list to smoke is helpful.

zoffixznet avatar Mar 16 '17 13:03 zoffixznet

I haven't tested this still works, but --exclude can be used to skip modules (it was implemented for the exact same reason/module). e.g. --exclude=Module::Foo --exclude=Module::Bar

I haven't tested this will work yet either, but you should be able to do:

"Repository" : [
    {
        "short-name" : "smoke-me",
        "enabled" : 1,
        "module" : "Zef::Repository::Ecosystems",
        "options" : {
            "name" : "Smokeable",
            "mirrors" : [ "/path/to/package/list.json" ]
        }
    }
]

and invoke zef like zef --smoke-me --/p6c --/cached --/cpan --/metacpan smoke to only smoke the modules pointed to by that list.json file

ugexe avatar Mar 16 '17 15:03 ugexe