equal
deleted
inserted
replaced
479 echo(Library.trim_line(err)) |
479 echo(Library.trim_line(err)) |
480 |
480 |
481 if (rc == 0) { |
481 if (rc == 0) { |
482 val sources = make_stamp(name) |
482 val sources = make_stamp(name) |
483 val heap = heap_stamp(job.output_path) |
483 val heap = heap_stamp(job.output_path) |
|
484 (output_dir + log(name)).file.delete |
484 File.write_gzip(output_dir + log_gz(name), sources + "\n" + heap + "\n" + out) |
485 File.write_gzip(output_dir + log_gz(name), sources + "\n" + heap + "\n" + out) |
485 } |
486 } |
486 else { |
487 else { |
|
488 (output_dir + log_gz(name)).file.delete |
487 File.write(output_dir + log(name), out) |
489 File.write(output_dir + log(name), out) |
488 echo(name + " FAILED") |
490 echo(name + " FAILED") |
489 echo("(see also " + log(name).file.toString + ")") |
491 echo("(see also " + log(name).file.toString + ")") |
490 val lines = split_lines(out) |
492 val lines = split_lines(out) |
491 val tail = lines.drop(lines.length - 20 max 0) |
493 val tail = lines.drop(lines.length - 20 max 0) |