Fixed automatic tests.

This commit is contained in:
bubnikv committed 2018-03-23 16:00:00 +01:00
1 parent e931f75010
commit 5063c15442
5 files changed
+22 -6

No files matched your search

+2 -1
View File
@@ -208,8 +208,9 @@ sub gcode {
my $gcode_temp_path = abs_path($0) . '.gcode.temp';
# Remove the existing temp file.
unlink $gcode_temp_path;
$print->set_status_silent;
$print->process;
$print->export_gcode(output_file => $gcode_temp_path, quiet => 1);
$print->export_gcode($gcode_temp_path);
# Read the temoprary G-code file.
my $gcode;
{