Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/prusa3d/PrusaSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/t
diff options
context:
space:
mode:
authorbubnikv <bubnikv@gmail.com>2018-03-23 13:41:20 +0300
committerbubnikv <bubnikv@gmail.com>2018-03-23 13:41:20 +0300
commite931f7501001feb8e2af29489e218ecca7080f48 (patch)
tree0f9e937e41d9ae71fcd037d283931f14b180aaa1 /t
parent86b79f89ad423e2dacaadb7465df51d9f9878862 (diff)
Work in progress: Good bye, Perl Threads!
Diffstat (limited to 't')
-rw-r--r--t/threads.t35
1 files changed, 0 insertions, 35 deletions
diff --git a/t/threads.t b/t/threads.t
deleted file mode 100644
index 7fede3328..000000000
--- a/t/threads.t
+++ /dev/null
@@ -1,35 +0,0 @@
-use Test::More tests => 2;
-use strict;
-use warnings;
-
-BEGIN {
- use FindBin;
- use lib "$FindBin::Bin/../lib";
- use local::lib "$FindBin::Bin/../local-lib";
-}
-
-use List::Util qw(first);
-use Slic3r;
-use Slic3r::Test;
-
-{
- my $print = Slic3r::Test::init_print('20mm_cube');
- {
- my $thread = threads->create(sub { Slic3r::thread_cleanup(); return 1; });
- ok $thread->join, "print survives thread spawning";
- }
-}
-
-{
- my $thread = threads->create(sub {
- {
- my $print = Slic3r::Test::init_print('20mm_cube');
- Slic3r::Test::gcode($print);
- }
- Slic3r::thread_cleanup();
- return 1;
- });
- ok $thread->join, "process print in a separate thread";
-}
-
-__END__