ite... doesn't work yet

This commit is contained in:
Edward Chen
2021-09-28 20:27:50 -04:00
parent a4297bc022
commit 7af5c69940
10 changed files with 75 additions and 12 deletions

View File

@@ -9,7 +9,8 @@ if __name__ == "__main__":
boolean_tests + \
nary_boolean_tests + \
const_arith_tests + \
const_bool_tests # + \
const_bool_tests + \
ite_tests
# loop_tests + \
# ite_tests + \
# function_tests + \

View File

@@ -72,6 +72,7 @@ def run_tests(lang: str, tests: List[dict]):
4. server arguments: dict[name] = value
5. client arguments: dict[name] = value
'''
print("Running tests for frontend", lang)
failed_test_descs = []
num_retries = 3
progress_inc = 5

View File

@@ -55,3 +55,7 @@ mpc_test 2 ./examples/C/mpc/unit_tests/nary_boolean_tests/2pc_nary_boolean_and.c
mpc_test 2 ./examples/C/mpc/unit_tests/const_tests/2pc_const_arith.c
mpc_test 2 ./examples/C/mpc/unit_tests/const_tests/2pc_const_bool.c
# build ite tests
mpc_test 2 ./examples/C/mpc/unit_tests/ite_tests/2pc_ite_ret_bool.c
# mpc_test 2 ./examples/C/mpc/unit_tests/ite_tests/2pc_ite_ret_int.c

View File

@@ -51,14 +51,14 @@ mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/boolean_tests/2pc_boolean_equals.z
# build mpc nary boolean tests
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/nary_boolean_tests/2pc_nary_boolean_and.zok
# build ite tests
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/ite_tests/2pc_ite_ret_bool.zok
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/ite_tests/2pc_ite_ret_int.zok
# build mpc const tests
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/const_tests/2pc_const_arith.zok
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/const_tests/2pc_const_bool.zok
# build ite tests
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/ite_tests/2pc_ite_ret_bool.zok
mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/ite_tests/2pc_ite_ret_int.zok
# build mpc array tests
# mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/array_tests/2pc_array_sum.zok
# mpc_test 2 ./examples/ZoKrates/mpc/unit_tests/array_tests/2pc_array_ret.zok