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

Feature Request: provide a list of modules for zef smoke #142

Open
zoffixznet opened this issue Mar 16, 2017 · 1 comment
Open

Feature Request: provide a list of modules for zef smoke #142

zoffixznet opened this issue Mar 16, 2017 · 1 comment
Labels

Comments

@zoffixznet
Copy link
Contributor

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.

@ugexe
Copy link
Owner

ugexe commented Mar 16, 2017

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 ugexe added the feature label Mar 19, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants