From 5ce518fd7c975433435d9b86dd30974ab8214531 Mon Sep 17 00:00:00 2001 From: arty Date: Fri, 17 Nov 2023 11:13:45 -0800 Subject: [PATCH] Ensure we set the frugal version of the diag runner --- .../tests/game-referee-after-cl21/test_library_basics.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/resources/tests/game-referee-after-cl21/test_library_basics.py b/resources/tests/game-referee-after-cl21/test_library_basics.py index 926ddde7a..c8cce6664 100644 --- a/resources/tests/game-referee-after-cl21/test_library_basics.py +++ b/resources/tests/game-referee-after-cl21/test_library_basics.py @@ -70,7 +70,7 @@ def test_smoke_compare(): compare_program.run(Program.to([])) def test_handcalc(): - diag_run_clvm(test_handcalc_program, Program.to([]), 'test_handcalc.sym') + diag_run_clvm(test_handcalc_program, Program.to([]), 'test_handcalc.sym', {'print': True}) def proper_list_inner(result,cl): if hasattr(cl, 'pair') and cl.pair is not None: @@ -137,20 +137,20 @@ def test_permutations_2(): all_b_string = 0x626262626262 for try_list in [[all_a_string,all_b_string], [all_b_string,all_a_string]]: want_set = list([list(v) for v in sorted(permutations(try_list))]) - listed_result = diag_run_clvm(smoke_test_permutations_program, Program.to([try_list]), 'smoke_test_permutations.sym') + listed_result = diag_run_clvm(smoke_test_permutations_program, Program.to([try_list]), 'smoke_test_permutations.sym', {'print': True}) pl = proper_list(listed_result) perms_result = sorted([int_list(x) for x in de_none_list(pl)]) assert want_set == perms_result def test_chialisp_sort_program(): - diag_run_clvm(test_sort_program, Program.to([]), 'test_sort.sym') + diag_run_clvm(test_sort_program, Program.to([]), 'test_sort.sym', {'print': True}) def test_permutations_n(): for i in range(3,6): do_test_permutations_of_size_n(i) def test_chialisp_permutations_program(): - diag_run_clvm(test_permutations_program, Program.to([3, 5]), 'test_permutations.sym') + diag_run_clvm(test_permutations_program, Program.to([3, 5]), 'test_permutations.sym', {'print': True}) def test_smoke_sort(): for length in range(7): # 0-7 length