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 File::Slurp qw/read_file/;
use File::Temp qw/tempdir/;
JAVA => 'java',
JULIA => 'jl',
MONO => 'cs',
+ OBERON => 'm',
OCAML => 'ml',
PASCAL => 'pas',
PERL => 'pl',
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 - $start_time}
PYTHON python2.7
RUBY ruby
RUST rustc
+ OBERON obc
OCAML ocaml
SBCL sbcl/};
if ($meta->{files}{prog}) {
my $format = $meta->{files}{prog}{format};
my $compiler = COMPILER->{$format};
- skip "$compiler not found in path", 3 unless $ENV{GRUNTMASTER_VM} || which $compiler;
- skip "$format requires multiple processes. Set GRUNTMASTER_KILL_USER and GRUNTMASTER_SUDO to allow multiple processes.", 3 if !$ENV{GRUNTMASTER_KILL_USER} && $needs_fork{$format};
+# skip "$compiler not found in path", 3 unless $ENV{GRUNTMASTER_VM} || which $compiler;
+# skip "$format requires multiple processes. Set GRUNTMASTER_KILL_USER and GRUNTMASTER_SUDO to allow multiple processes.", 3 if !$ENV{GRUNTMASTER_KILL_USER} && $needs_fork{$format};
$meta->{files}{prog}{content} = read_file "$source/$meta->{files}{prog}{name}";
}
$meta = merge $meta, $pbmeta;