Commit ff792ab0 authored by norvell's avatar norvell
Browse files

Ignore JBM tracefiles when comparing to input -- not present for input files

parent 4a382cd9
Loading
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -379,7 +379,7 @@ def test_param_file_tests(
        # set to false per default even if this is no JBM case - makes later check for failure easier
        tracefile_last_rtp_numbers_differ = False

        if len(tracefile_dec) > 0:
        if len(tracefile_dec) > 0 and not compare_to_input:
            dut_tracefile_dec = f"{dut_base_path}/param_file/dec/{tracefile_dec}"
            ref_tracefile_dec = f"{reference_path}/param_file/dec/{tracefile_dec}"

+1 −1
Original line number Diff line number Diff line
@@ -933,7 +933,7 @@ def reference_path(request) -> str:

    path = str(path.resolve())

    if request.config.option.update_ref == "0":
    if request.config.option.update_ref == "0" and not request.config.option.compare_to_input:
        if not os.path.isdir(path):
            raise FileNotFoundError(
                f"REF path {path} not found!\nPlease generate the references, first!\n!"