diff --git a/examples/dynamic_library_loader/use.v b/examples/dynamic_library_loader/use_shared_library.v similarity index 100% rename from examples/dynamic_library_loader/use.v rename to examples/dynamic_library_loader/use_shared_library.v diff --git a/examples/dynamic_library_loader/use_test.v b/examples/dynamic_library_loader/use_test.v index 5d7e6b7dd2f637..31e0cbabff77bf 100644 --- a/examples/dynamic_library_loader/use_test.v +++ b/examples/dynamic_library_loader/use_test.v @@ -31,7 +31,7 @@ fn test_can_compile_main_program() { os.chdir(cfolder) or {} library_file_path := os.join_path(cfolder, dl.get_libname('library')) assert os.is_file(library_file_path) - result := v_compile('run use.v') + result := v_compile('run use_shared_library.v') // dump(result) assert result.output.contains('res: 4') os.rm(library_file_path) or {} @@ -43,7 +43,7 @@ fn test_can_compile_and_use_library_with_skip_unused_home_dir() { os.rm(library_file_path) or {} v_compile('-skip-unused -d no_backtrace -o library -shared modules/library/library.v') assert os.is_file(library_file_path) - result := v_compile('run use.v') + result := v_compile('run use_shared_library.v') assert result.output.contains('res: 4') os.rm(library_file_path) or {} } @@ -55,7 +55,7 @@ fn test_can_compile_and_use_library_with_skip_unused_location1_dir() { os.mkdir('location1') or {} v_compile('-skip-unused -d no_backtrace -o location1/library -shared modules/library/library.v') assert os.is_file(library_file_path) - result := v_compile('run use.v') + result := v_compile('run use_shared_library.v') assert result.output.contains('res: 4') os.rm(library_file_path) or {} } diff --git a/examples/dynamic_library_loading/use.v b/examples/dynamic_library_loading/use_dl_module.v similarity index 100% rename from examples/dynamic_library_loading/use.v rename to examples/dynamic_library_loading/use_dl_module.v diff --git a/examples/dynamic_library_loading/use_library_test.v b/examples/dynamic_library_loading/use_library_test.v index 52b6c68334b132..fba02e26374aed 100644 --- a/examples/dynamic_library_loading/use_library_test.v +++ b/examples/dynamic_library_loading/use_library_test.v @@ -32,7 +32,7 @@ fn test_can_compile_library() { fn test_can_compile_main_program() { os.chdir(cfolder) or {} assert os.is_file(library_file_name) - result := v_compile('run use.v') + result := v_compile('run use_dl_module.v') // dump(result) assert result.output.contains('res: 4') os.rm(library_file_name) or {} @@ -43,7 +43,7 @@ fn test_can_compile_and_use_library_with_skip_unused() { os.rm(library_file_name) or {} v_compile('-skip-unused -d no_backtrace -o library -shared modules/library/library.v') assert os.is_file(library_file_name) - result := v_compile('run use.v') + result := v_compile('run use_dl_module.v') assert result.output.contains('res: 4') os.rm(library_file_name) or {} }