Skip to content

Commit 31e7105

Browse files
committed
Add !NETFRAMEWORK compiler statement to test method
due to unavailable dependency System.Runtime.InteropServices
1 parent 119eae3 commit 31e7105

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/ironpython/Stress/Engine.cs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ private static long GetTotalMemory() {
4242
}
4343

4444
#if FEATURE_REFEMIT
45+
#if !NETFRAMEWORK
4546
[Test]
4647
public void ScenarioXGC() {
4748
long initialMemory = GetTotalMemory();
@@ -79,6 +80,7 @@ public void ScenarioXGC() {
7980
System.Console.WriteLine("Skipping memory usage test under SaveSnippets and/or Debug mode.");
8081
}
8182
}
83+
#endif
8284
#endif
8385
}
8486
}

0 commit comments

Comments
 (0)