Permalink
Browse files

Regression test for #1808 (crash when using non-consecutive extruders…

…), already fixed in master branch
  • Loading branch information...
1 parent 16d899f commit 344a517ce8432db944f65659ce6d7577fe05a053 @alexrj committed Feb 26, 2014
Showing with 9 additions and 1 deletion.
  1. +9 −1 t/multi.t
View
10 t/multi.t
@@ -1,4 +1,4 @@
-use Test::More tests => 1;
+use Test::More tests => 2;
use strict;
use warnings;
@@ -58,4 +58,12 @@ use Slic3r::Test;
ok !(first { $convex_hull->contains_point($_) } @toolchange_points), 'all toolchanges happen outside skirt';
}
+{
+ my $config = Slic3r::Config->new_from_defaults;
+ $config->set('support_material_extruder', 3);
+
+ my $print = Slic3r::Test::init_print('20mm_cube', config => $config);
+ ok Slic3r::Test::gcode($print), 'no errors when using non-consecutive extruders';
+}
+
__END__

0 comments on commit 344a517

Please sign in to comment.