mirror of
https://github.com/Readarr/Readarr.git
synced 2026-04-18 21:34:28 -04:00
ignore WindowsService tests in *nix systems.
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user