From 3e4e003f8078b91d45c9bf4fb2a8e3517fb7a167 Mon Sep 17 00:00:00 2001 From: Mohamed Koubaa Date: Tue, 20 Dec 2022 14:42:22 -0600 Subject: [PATCH] add tests --- tests/test_common.py | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/tests/test_common.py b/tests/test_common.py index 5e5338d..f42020a 100644 --- a/tests/test_common.py +++ b/tests/test_common.py @@ -46,6 +46,21 @@ def test_mono_debug(example_netstandard): run_tests(asm) +def test_mono_signal_chaining(example_netstandard): + from clr_loader import get_mono + + mono = get_mono(set_signal_chaining=True) + asm = mono.get_assembly(example_netstandard / "example.dll") + + run_tests(asm) + +def test_mono_set_dir(example_netstandard): + from clr_loader import get_mono + + mono = get_mono(assembly_dir="/usr/lib", config_dir="/etc") + asm = mono.get_assembly(example_netstandard / "example.dll") + + run_tests(asm) def test_coreclr(example_netcore): from clr_loader import get_coreclr