-
Notifications
You must be signed in to change notification settings - Fork 9
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
RunExtraTests runs all files under xt/, including data files. #26
Comments
@karenetheridge any idea what's going on with this? |
I'd want to see the output of each of these commands, and an |
Here is the reproducer:
Output:
Everything is ok. Now uncomment the last line of
And
You see, it tries to execute |
I think the best thing is to paste them on gist.github.com and post the links here. |
Or upload a tarball to Dropbox and post that link. |
Ok, thanks. I'll do it next time. Today I already updated the original post with small one-file reproducer. It does not require external files and can be easily copy-pasted from the post. |
I found the problem; will send a PR. |
These are run in a separate pass using a non-recursive prove on xt/*, after which subdirectories under xt/* are recursed into as normal. closes dagolden#26.
These are run in a separate pass using a non-recursive prove on xt/*, after which subdirectories under xt/* are recursed into as normal. closes dagolden#26.
I have
xt/
directory, it contains few tests (with.t
suffix) and few non-test, non-Perl non-scripts, but supporting data for tests. Namely, I haveperlcritic.ini
(a config file forTest::Perl::Critic
) andaspell.en.pws
(custom dictionary forTest::PodSpelling
).dzil test
anddzil xtest
works as expected: the first command runs all the tests undert/
, the second one runs all the tests underxt/
. AddingCheckExtraTests
to mydist.ini
also works as expected:dzil release
runst/
tests first (since I also useTestRelease
), then runsxt/
tests (and builds the distro twice; but it is documented).Documentation recommends using
RunExtraTests
to avoid double build. Unfortunately,RunExtraTests
does not work for me:dzil test
runs all the files undert/
andxt/
, including non-Perl, non-.t
files. Obviously,xt/perlcritic.ini
andxt/aspell.en.pws
fail.dzil xtest
works as before, it runs only tests,xt/*.t
, and ignores non-test files.The text was updated successfully, but these errors were encountered: