Commit f50511da authored by Jan Kiene's avatar Jan Kiene
Browse files

adapt error reporting to new scripts

parent c0c4f8c7
Loading
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -33,7 +33,7 @@ def main():
    # JBM test can not run concurrently with the others
    run_file(README_FILES_JBM[0], BINARY_PATHS[1], result_dict)

    return int(any(result_dict.values()))
    return analyze_results(result_dict)


def analyze_results(result_dict):
@@ -42,7 +42,7 @@ def analyze_results(result_dict):
    for filename, ret_code in result_dict.items():
        if ret_code != 0:
            print(f"========= Test for {filename} failed! See log below: ==========")
            with open(filename.replace(".txt", "_log.txt")) as f:
            with open(filename.replace("Readme", "Log")) as f:
                print(f.read())
            ret = 1