From d542b4e2df3af0d0efd603c09c7cd638129523e0 Mon Sep 17 00:00:00 2001 From: Emanuele Cesena Date: Tue, 28 May 2024 17:28:59 +0000 Subject: [PATCH] diff: use diff_effect_fn from harness ctx --- src/test_suite/multiprocessing_utils.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/test_suite/multiprocessing_utils.py b/src/test_suite/multiprocessing_utils.py index bbb6943..3f2d4ec 100644 --- a/src/test_suite/multiprocessing_utils.py +++ b/src/test_suite/multiprocessing_utils.py @@ -368,8 +368,9 @@ def build_test_results(results: dict[str, str | None]) -> tuple[int, dict | None if protobuf_structures[globals.solana_shared_library] is None: return 0, None + diff_effect_fn = globals.harness_ctx.diff_effect_fn test_case_passed = all( - protobuf_structures[globals.solana_shared_library] == result + diff_effect_fn(protobuf_structures[globals.solana_shared_library], result) for result in protobuf_structures.values() )