Update btests/baselines for OpenDict compat

Haven't checked different build configurations yet, but all except
a few SumStats tests are stable for me now.  The external tests
are also completely failing, but haven't looked at those yet.
This commit is contained in:
Jon Siwek 2020-08-05 21:12:13 -07:00 committed by Tim Wojtulewicz
parent 37d3cfbd44
commit 94aee910d5
27 changed files with 122 additions and 112 deletions

View file

@ -21,7 +21,28 @@ function test_cmd(label: string, cmd: Exec::Command)
{
when ( local result = Exec::run(cmd) )
{
print label, result;
local file_content = "";
if ( result?$files )
{
local which_test = "out1" in result$files;
if ( which_test )
file_content = fmt("out1 -> %s, out2 -> %s",
result$files["out1"],
result$files["out2"]);
else
file_content = fmt("out3 -> %s, out4 -> %s",
result$files["out3"],
result$files["out4"]);
}
print fmt("%s - exit: %s, signal: %s, stdout: %s, stderr: %s, files: %s",
label, result$exit_code, result$signal_exit,
result?$stdout ? result$stdout : "",
result?$stderr ? result$stderr : "",
file_content);
check_exit_condition();
}
}