Skip to content

Commit 3e4e003

Browse files
koubaafilmor
authored andcommitted
add tests
1 parent bf3b426 commit 3e4e003

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

tests/test_common.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,21 @@ def test_mono_debug(example_netstandard):
4646

4747
run_tests(asm)
4848

49+
def test_mono_signal_chaining(example_netstandard):
50+
from clr_loader import get_mono
51+
52+
mono = get_mono(set_signal_chaining=True)
53+
asm = mono.get_assembly(example_netstandard / "example.dll")
54+
55+
run_tests(asm)
56+
57+
def test_mono_set_dir(example_netstandard):
58+
from clr_loader import get_mono
59+
60+
mono = get_mono(assembly_dir="/usr/lib", config_dir="/etc")
61+
asm = mono.get_assembly(example_netstandard / "example.dll")
62+
63+
run_tests(asm)
4964

5065
def test_coreclr(example_netcore):
5166
from clr_loader import get_coreclr

0 commit comments

Comments
 (0)