Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Skip most tests for non-author installations
Since we offer p6doc, this distro is also installed by users who want that tool. There's no reason to abort those installs just because someone used tabs in the text. Skips all the author-related tests, including tests for helper utilities like Pod::Convenience.
- Loading branch information
1 parent
02345db
commit 03a749d
Showing
7 changed files
with
15 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,11 @@ | ||
#!/usr/bin/env perl6 | ||
|
||
use v6; | ||
|
||
use lib 'lib'; | ||
use Test; | ||
use Test::META; | ||
BEGIN plan :skip-all<Test applicable to git checkout only> unless '.git'.IO.e; | ||
|
||
use Test::META; | ||
meta-ok; | ||
|
||
done-testing; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
03a749d
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.
Not 100% sure if this skips too much. Basically, the goal is to ensure regular installations with
zef
just test only what's being installed, likep6doc
. Stuff like tabs, "no .pod files", valid pod, etc. are author tests that shouldn't be run during user installations.Based on: https://irclog.perlgeek.de/perl6/2018-03-21#i_15949534