Skip to content

Commit

Permalink
add tests
Browse files Browse the repository at this point in the history
  • Loading branch information
koubaa authored and filmor committed Jan 3, 2023
1 parent bf3b426 commit 3e4e003
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions tests/test_common.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e4e003

Please sign in to comment.