Add needed test args for ctest run.
@@ -205,6 +205,19 @@ if (BUILD_TESTING)
${test_case_name}
PROPERTY
ENVIRONMENT LD_PRELOAD=$<TARGET_FILE:allocator_overrides>)
+
+ set_property(
+ TEST
+ ${test_case_name}
+ PROPERTY
+ ENVIRONMENT S2N_UNIT_TEST=1)
+
+ set_property(
+ TEST
+ ${test_case_name}
+ PROPERTY
+ ENVIRONMENT S2N_DONT_MLOCK=1)
+
endforeach(test_case)
add_executable(s2nc "bin/s2nc.c" "bin/echo.c")
