Fixed automatic tests.

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

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;
{