Skip to content

Commit

Permalink
Add !NETFRAMEWORK compiler statement to test method
Browse files Browse the repository at this point in the history
due to unavailable dependency System.Runtime.InteropServices
  • Loading branch information
Lamparter committed Nov 26, 2024
1 parent 119eae3 commit 31e7105
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/ironpython/Stress/Engine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ private static long GetTotalMemory() {
}

#if FEATURE_REFEMIT
#if !NETFRAMEWORK
[Test]
public void ScenarioXGC() {
long initialMemory = GetTotalMemory();
Expand Down Expand Up @@ -79,6 +80,7 @@ public void ScenarioXGC() {
System.Console.WriteLine("Skipping memory usage test under SaveSnippets and/or Debug mode.");
}
}
#endif
#endif
}
}

0 comments on commit 31e7105

Please sign in to comment.