From 0772b3d1592cc33186b80135c13ef5fe3fd9b455 Mon Sep 17 00:00:00 2001 From: Michael Kirsch Date: Sat, 6 Jul 2019 02:28:22 +0200 Subject: [PATCH] add test dev framework --- xs/t/23_3mf.t | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) diff --git a/xs/t/23_3mf.t b/xs/t/23_3mf.t index 15b450145..fda9f4714 100644 --- a/xs/t/23_3mf.t +++ b/xs/t/23_3mf.t @@ -3,7 +3,6 @@ use strict; use warnings; -use Slic3r::XS; use Test::More; use IO::Uncompress::Unzip qw(unzip $UnzipError) ; use Cwd qw(abs_path); @@ -11,6 +10,16 @@ use File::Basename qw(dirname); require Encode; +#plan skip_all => 'temporarily disabled'; + +BEGIN { + use FindBin; + use lib "$FindBin::Bin/../../lib"; + use local::lib "$FindBin::Bin/../../local-lib"; +} + +use Slic3r::XS; + # Removes '\n' and '\r\n' from a string. sub clean { my $text = shift; @@ -45,9 +54,6 @@ my $expected_relationships = " \n" # Delete the created file. unlink($output_path); } -done_testing(); - -__END__ # Test 2: Check read metadata/ objects/ components/ build items w/o or with tansformation matrics. {