Skip to content

Commit

Permalink
disable spelling tests when running dotnet 8 on linux
Browse files Browse the repository at this point in the history
  • Loading branch information
hahn-kev committed Aug 15, 2024
1 parent 63c18ee commit f4232a8
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions tests/SIL.LCModel.Core.Tests/SpellChecking/SpellingHelperTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
using System;
using System.IO;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
using NUnit.Framework;
using SIL.IO;
Expand All @@ -22,6 +23,17 @@ public class SpellingHelperTests
{
// TODO-Linux: need slightly modified hunspell package installed!

[OneTimeSetUp]
public void FixtureSetUp()
{
#if NET8_0
if (!RuntimeInformation.IsOSPlatform(OSPlatform.Windows))
{
Assert.Ignore("NHunspell does not work on dotnet 8 on linux");
}
#endif
}

/// <summary>
/// Check how spelling status is set and cleared.
/// </summary>
Expand Down

0 comments on commit f4232a8

Please sign in to comment.