Skip to content

Commit b088ff1

Browse files
committed
STL-unpatched.t doesn't need to run in FreeBSD; fix MANIFEST.SKIP to not bundle .github folder
1 parent 4dfaa73 commit b088ff1

File tree

6 files changed

+16
-4
lines changed

6 files changed

+16
-4
lines changed

CHANGES

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
Revision history for Perl distribution Win32-Mechanize-NotepadPlusPlus
22

3+
v0.006001 2021-Nov-25
4+
- Update test suite again for FreeBSD: doesn't need to cover
5+
"STL-unpatched.t" (#13)
6+
- Fix MANIFEST.SKIP to not bundle the .github folder in the
7+
distribution
8+
9+
310
v0.006 2021-Nov-25
411
- Try to prevent FreeBSD from freezing during test suite: skip
512
offending tests which cover FormatSTL.pm, as that module

MANIFEST

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
.github/workflows/perl-ci.yml
21
CHANGES
32
files/cube.stl
43
files/cube_badfacet.stl

MANIFEST.SKIP

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313

1414
# pcj
1515
^.svn/
16+
^.github/
1617
^MYMETA
1718
^\.?travis\.yml$
1819
^\.?appveyor\.yml$

lib/CAD/Mesh3D.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use Carp;
55
use 5.010; # M::V::R requires 5.010, so might as well make use of the defined-or // notation :-)
66
use Math::Vector::Real 0.18;
77
use CAD::Format::STL qw//;
8-
our $VERSION = '0.006';
8+
our $VERSION = '0.006001';
99

1010
=head1 NAME
1111

lib/CAD/Mesh3D/STL.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ use Carp;
55
use 5.010; # M::V::R requires 5.010, so might as well make use of the defined-or // notation :-)
66
use CAD::Format::STL qw//;
77
use CAD::Mesh3D qw/:create/;
8-
our $VERSION = '0.006'; # auto-populated from CAD::Mesh3D
8+
our $VERSION = '0.006001'; # auto-populated from CAD::Mesh3D
99

1010
# start by deciding which formatter to use
1111
our $STL_FORMATTER;

t/STL-unpatched.t

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,13 @@ use version 0.77;
77
use FindBin;
88
use lib "$FindBin::Bin/unpatched";
99
BEGIN {
10-
if( $^O eq 'linux' ) { # want linux to pretend it is windows, to get full coverage of patched/unpatched
10+
if( $^O eq 'linux' ) {
11+
# want linux to pretend it is windows, to get full coverage of patched/unpatched
12+
# it will _work_ on linux, but isn't required
1113
$ENV{CAD_MESH3D_OVERRIDE_OS} = 'MSWin32';
14+
} elsif ( $^O ne 'MSWin32' and $^O ne 'cygwin' ) {
15+
# if it's not windows and not linux, then we don't need this
16+
plan skip_all => 'Unpatched test not needed except on Windows';
1217
}
1318
}
1419
use CAD::Mesh3D::STL;

0 commit comments

Comments
 (0)