Skip to content
This repository has been archived by the owner on Aug 19, 2024. It is now read-only.

Commit

Permalink
DROPME: testing libsodium restore location
Browse files Browse the repository at this point in the history
  • Loading branch information
qstokkink committed Jun 14, 2024
1 parent 88f159f commit 661369a
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/run_unit_tests.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,9 @@ def task_tribler_test(*test_names: str) -> tuple[bool, int, float, list[tuple[st
help="The unit test directory.")
args = parser.parse_args()

# TODO: DROPME: testing cache restore location.
if platform.system() == "Windows":
os.add_dll_directory(str(pathlib.Path(".").absolute()))
if platform.system() == "Windows" and windows_missing_libsodium() and not args.nodownload:
print("Failed to locate libsodium (libnacl requirement), downloading latest dll!") # noqa: T201
install_libsodium()
Expand Down

0 comments on commit 661369a

Please sign in to comment.