Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions tests/service/ExprTests.fs
Original file line number Diff line number Diff line change
Expand Up @@ -722,6 +722,13 @@ let test{0}ToStringOperator (e1:{1}) = string e1

"""

let ignoreTestIfStackOverflowExpected () =
#if !NETFRAMEWORK && DEBUG
Assert.Ignore("Test is known to fail in DEBUG when not using NetFramework. Use RELEASE configuration or NetFramework to run it.")
#else
()
#endif

/// This test is run in unison with its optimized counterpart below
[<Test>]
let ``Test Unoptimized Declarations Project1`` () =
Expand Down Expand Up @@ -3191,6 +3198,7 @@ let BigSequenceExpression(outFileOpt,docFileOpt,baseAddressOpt) =

[<Test>]
let ``Test expressions of declarations stress big expressions`` () =
ignoreTestIfStackOverflowExpected ()
let cleanup, options = ProjectStressBigExpressions.createOptions()
use _holder = cleanup
let exprChecker = FSharpChecker.Create(keepAssemblyContents=true)
Expand All @@ -3207,6 +3215,7 @@ let ``Test expressions of declarations stress big expressions`` () =

[<Test>]
let ``Test expressions of optimized declarations stress big expressions`` () =
ignoreTestIfStackOverflowExpected ()
let cleanup, options = ProjectStressBigExpressions.createOptions()
use _holder = cleanup
let exprChecker = FSharpChecker.Create(keepAssemblyContents=true)
Expand Down