Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit229e19f

Browse files
committed
Fixing some small test bugs (changeset 1378667)
1 parentca26624 commit229e19f

File tree

3 files changed

+6
-2
lines changed

3 files changed

+6
-2
lines changed

‎tests/fsharp/core/control/test.fsx‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2003,6 +2003,8 @@ module ExceptionInAsyncParallelOrHowToInvokeContinuationTwice =
20032003

20042004
check"ExceptionInAsyncParallelOrHowToInvokeContinuationTwice"(Seq.init30(ignore>> test)|> Seq.forall id)true
20052005

2006+
#if FX_NO_EXCEPTIONDISPATCHINFO
2007+
#else
20062008

20072009
// [Asyncs] Better stack traces for Async
20082010
module BetterStacksTest1=
@@ -2043,6 +2045,8 @@ module BetterStacksTest2 =
20432045

20442046
test"BetterStacks2"(v.Contains("FunctionRaisingException"))
20452047

2048+
#endif
2049+
20462050
// [Asyncs] Cancellation inside Async.AwaitWaitHandle may release source WaitHandle
20472051
module Bug391710=
20482052
open System

‎tests/fsharp/core/innerpoly/test.fsx‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -383,7 +383,7 @@ end
383383

384384
#if Portable
385385
letaa=
386-
if!failuresthen(stdout.WriteLine"Test Failed"; exit1)
386+
if failuresthen(stdout.WriteLine"Test Failed"; exit1)
387387
else(stdout.WriteLine"Test Passed"; exit0)
388388
#else
389389
do(stdout.WriteLine"Test Passed";

‎tests/fsharp/core/portable/portablelibrary1/portabletestinglibrary.fsproj‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
<Optimize>false</Optimize>
2424
<Tailcalls>false</Tailcalls>
2525
<OutputPath>bin\Debug\</OutputPath>
26-
<DefineConstants>TRACE;DEBUG;Portable</DefineConstants>
26+
<DefineConstants>TRACE;DEBUG;Portable;FX_NO_EXCEPTIONDISPATCHINFO</DefineConstants>
2727
<WarningLevel>3</WarningLevel>
2828
<DocumentationFile>bin\Debug\PortableLibrary1.XML</DocumentationFile>
2929
</PropertyGroup>

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp