mirror of
https://github.com/ethereum/solidity
synced 2023-10-03 13:03:40 +00:00
Merge pull request #12632 from a3d4/symlinks-on-windows
Clarify symlink handling on Windows
This commit is contained in:
commit
122ad0770a
@ -94,6 +94,13 @@ dependencies (`evmone <https://github.com/ethereum/evmone/releases>`_,
|
|||||||
On macOS some of the testing scripts expect GNU coreutils to be installed.
|
On macOS some of the testing scripts expect GNU coreutils to be installed.
|
||||||
This can be easiest accomplished using Homebrew: ``brew install coreutils``.
|
This can be easiest accomplished using Homebrew: ``brew install coreutils``.
|
||||||
|
|
||||||
|
On Windows systems make sure that you have a privilege to create symlinks,
|
||||||
|
otherwise several tests may fail.
|
||||||
|
Administrators should have that privilege, but you may also
|
||||||
|
`grant it to other users <https://docs.microsoft.com/en-us/windows/security/threat-protection/security-policy-settings/create-symbolic-links#policy-management>`_
|
||||||
|
or
|
||||||
|
`enable Developer Mode <https://docs.microsoft.com/en-us/windows/apps/get-started/enable-your-device-for-development>`_.
|
||||||
|
|
||||||
Running the Tests
|
Running the Tests
|
||||||
-----------------
|
-----------------
|
||||||
|
|
||||||
|
@ -81,5 +81,6 @@ bool solidity::test::createSymlinkIfSupportedByFilesystem(
|
|||||||
BOOST_THROW_EXCEPTION(runtime_error(
|
BOOST_THROW_EXCEPTION(runtime_error(
|
||||||
"Failed to create a symbolic link: \"" + _linkName.string() + "\""
|
"Failed to create a symbolic link: \"" + _linkName.string() + "\""
|
||||||
" -> " + _targetPath.string() + "\"."
|
" -> " + _targetPath.string() + "\"."
|
||||||
|
" " + symlinkCreationError.message() + "."
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user