ONN (error, NILF,
"INTERNAL: exiting with %u jobserver tokens available; should be %u!",
tokens, master_job_slots);
-
- reset_jobserver ();
}
+
+ reset_jobserver ();
}
\f
/* Exit with STATUS, cleaning up as necessary. */
{
int r;
+ /* This function sets up the root jobserver. */
+ job_root = 1;
+
#if JOBSERVER_USE_FIFO
if (!style || strcmp (style, "fifo") == 0)
{
/* When using pselect() we want the read to be non-blocking. */
set_blocking (job_fds[0], 0);
- job_root = 1;
-
return 1;
}
++$i;
print " Failure $i:\n";
print " run: $e->{'run'}\n" if exists($e->{'run'});
- print " base: $e->{'base'}\n";
+ print " base: $e->{'base'}\n" if exists($e->{'base'});
print " diff: $e->{'diff'}\n" if exists($e->{'diff'});
+ print " log: $e->{'log'}\n" if exists($e->{'log'});
}
return 0;
}
my $run = get_runfile();
my $diff = get_difffile();
- my %e = ('base' => File::Spec->catdir($testpath, $base));
+ my %e = ('log' => File::Spec->catdir($testpath, $logfile));
if (! $matched) {
&create_file($base, $answer);
&create_file($run, $command_string);
+ $e{'base'} = File::Spec->catdir($testpath, $base);
$e{'run'} = File::Spec->catdir($testpath, $run);
}