Commit f6f57cac authored by Kevin Tew's avatar Kevin Tew

fixes

parent a1965775
......@@ -31,7 +31,7 @@ use TestBed::ParallelRunner;
sub build_TAP_stream {
use TestBed::TestSuite;
my ($in, $out, $err, $pid) = TestBed::ForkFramework::fork_child_redir(sub { TestBed::ParallelRunner::GlobalRunner->runtests; });
my ($in, $out, $err, $pid) = TestBed::ForkFramework::fork_child_redir(sub { $TestBed::ParallelRunner::GlobalRunner->runtests; });
return TAP::Parser::Iterator::StdOutErr->new($out, $err, $pid);
}
......
......@@ -53,7 +53,7 @@ sub runtests {
#add taskss to scheduler step
my $total_test_count = 0;
for (@{$result->successes}) {
my $executor = $s->executor($_->itemId);
my $executor = $s->executor($_->itemid);
my $maximum_nodes = $_->result->{'maximum_nodes'};
my $eid = $executor->e->eid;
......@@ -76,7 +76,7 @@ sub runtests {
USE_TESTBULDER_POSTAMBLE: {
$total_test_count = 0;
for (@{$result->successes}) {
my $executor = $s->executor($_->itemId);
my $executor = $s->executor($_->itemid);
$total_test_count += $executor->test_count;
}
TestBed::TestBuilderWrapper::set_test_builder_to_end_state($total_test_count);
......
......@@ -23,7 +23,7 @@ our @EXPORT = qw(e CartProd CartProdRunner concretize defaults override rege pru
sub e { TestBed::TestSuite::Experiment::build_e(@_); }
sub rege { TestBed::ParallelRunner::GlobalRunner->build_executor(@_); }
sub rege { $TestBed::ParallelRunner::GlobalRunner->build_executor(@_); }
sub CartProd {
my $config = shift;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment