]> iEval git - gruntmaster-daemon.git/blobdiff - lib/Gruntmaster/Daemon.pm
scaleway commit
[gruntmaster-daemon.git] / lib / Gruntmaster / Daemon.pm
index ef24364184c6ef403ae898acee7d2cf7046c2af3..7285c96cb69e5eda7ed8fa9e60fd1d731b2544f1 100644 (file)
@@ -7,7 +7,7 @@ use warnings;
 our $VERSION = '5999.000_005';
 
 use Gruntmaster::Daemon::Constants qw/ERR/;
-use Gruntmaster::Daemon::Format qw/prepare_files stopvms/;
+use Gruntmaster::Daemon::Format qw/prepare_files copy_from_vm stopvms/;
 use Gruntmaster::SendResults qw/send_results_request/;
 
 use File::Slurp qw/read_file/;
@@ -27,6 +27,7 @@ use constant FORMAT_EXTENSION => {
        GOLFSCRIPT => 'gs',
        HASKELL => 'hs',
        JAVA => 'java',
+       JAVASCRIPT => 'js',
        JULIA => 'jl',
        MONO => 'cs',
        OBERON => 'm',
@@ -87,6 +88,7 @@ sub process{
                        unlink 'time-start-prog', 'time-stop-prog';
                        if (ref $result) {
                                my $result_text = $result->[1];
+                               copy_from_vm 'result';
                                $result_text .= ': ' . read_file 'result' if -s 'result';
                                get_logger->trace("Test $test result is " . $result_text);
                                push @full_results, {id => $test, result => $result->[0], result_text => $result_text, time => $time}
This page took 0.018946 seconds and 4 git commands to generate.