-
Notifications
You must be signed in to change notification settings - Fork 78
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
Improve testing and CI a bit #387
base: master
Are you sure you want to change the base?
Conversation
@@ -45,3 +45,8 @@ jobs: | |||
run: | | |||
path C:\Strawberry\c\bin;C:\Strawberry\perl\site\bin;C:\Strawberry\perl\bin;%PATH% | |||
gmake test | |||
- name: Run Tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should probably have a distinct name.
my $files = check_dummy_inst('other', 'PREFIX= DESTDIR=other', 'with DESTDIR'); | ||
eval { | ||
unlike slurp($files->{'perllocal.pod'}), qr/other/, 'DESTDIR should not appear in perllocal'; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like if there is an exception here, it wouldn't run the test function, which would throw off the text count for the rest of the file.
@@ -47,3 +47,8 @@ jobs: | |||
run: | | |||
path c:\tools\cygwin\bin;c:\tools\cygwin\usr\bin | |||
make test | |||
- name: Run Tests |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This too.
This makes the CI do
make disttest NOECHO=
on all platforms, both to exercise thedisttest
functionality a bit more, and to reveal what is happening when it doesn't work.Similarly,
t/basic.t
is updated so that all runs of the install functionality go via thecheck_dummy_inst
function, which will then always check each install systematically in the same way.