mirror of
https://github.com/zama-ai/concrete.git
synced 2026-04-17 03:00:54 -04:00
fix: locate lib in current directory
not using ./ was causing dlopen not to found the lib
This commit is contained in:
@@ -248,13 +248,13 @@ def test_jit_compile_and_run(mlir_input, args, expected_result):
|
||||
|
||||
@pytest.mark.parametrize("mlir_input, args, expected_result", end_to_end_fixture)
|
||||
def test_lib_compile_and_run(mlir_input, args, expected_result):
|
||||
engine = LibrarySupport.new("py_test_lib_compile_and_run")
|
||||
engine = LibrarySupport.new("./py_test_lib_compile_and_run")
|
||||
compile_and_run(engine, mlir_input, args, expected_result)
|
||||
|
||||
|
||||
@pytest.mark.parametrize("mlir_input, args, expected_result", end_to_end_fixture)
|
||||
def test_lib_compile_reload_and_run(mlir_input, args, expected_result):
|
||||
engine = LibrarySupport.new("test_lib_compile_reload_and_run")
|
||||
engine = LibrarySupport.new("./test_lib_compile_reload_and_run")
|
||||
# Here don't save compilation result, reload
|
||||
engine.compile(mlir_input)
|
||||
compilation_result = engine.reload()
|
||||
|
||||
Reference in New Issue
Block a user