mirror of
https://github.com/lidarr/lidarr.git
synced 2025-08-14 10:47:08 -07:00
ignore WindowsService tests in *nix systems.
This commit is contained in:
parent
3cf527bfa2
commit
a4ee4a913f
2 changed files with 14 additions and 0 deletions
|
@ -18,6 +18,11 @@ namespace NzbDrone.Common.Test
|
|||
[SetUp]
|
||||
public void Setup()
|
||||
{
|
||||
if(EnvironmentProvider.IsLinux)
|
||||
{
|
||||
throw new IgnoreException("Windows services aren't available in none-windows environments.");
|
||||
}
|
||||
|
||||
serviceProvider = new ServiceProvider();
|
||||
|
||||
if (serviceProvider.ServiceExist(TEMP_SERVICE_NAME))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue