Skip to content

DRAFT for console encoding in fsi tests - #19331

Closed
Youssef1313 wants to merge 15 commits into
dotnet:mainfrom
Youssef1313:patch-1
Closed

DRAFT for console encoding in fsi tests#19331
Youssef1313 wants to merge 15 commits into
dotnet:mainfrom
Youssef1313:patch-1

Update scriptlib.fsx

42ccd08
Select commit
Loading
Failed to load commit list.
Azure Pipelines / fsharp-ci failed Feb 24, 2026 in 1h 45m 58s

Build #20260224.5 had test failures

Details

Tests

  • Failed: 2 (100.00%)
  • Passed: 0 (0.00%)
  • Other: 0 (0.00%)
  • Total: 2

Annotations

Check failure on line 3924 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

Build log #L3924

(NETCORE_ENGINEERING_TELEMETRY=Test) Error running tests (exit code '8').

Check failure on line 3926 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

Build log #L3926

Bash exited with code '8'.

Check failure on line 3932 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

Build log #L3932

(NETCORE_ENGINEERING_TELEMETRY=Test) Error running tests (exit code '8').

Check failure on line 3934 in Build log

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

Build log #L3934

Bash exited with code '8'.

Check failure on line 1 in FSharp.Tests.Core+CoreTests.fsiAndModifiers

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

FSharp.Tests.Core+CoreTests.fsiAndModifiers

Console input encoding is 'System.Text.UTF8Encoding', console is System.IO.TextReader+SyncTextReader. Child process redirects input? 'True'. 
StdOut:

Microsoft (R) F# Interactive version 15.2.100.0 for F# 11.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

For help type #help;;

> 


StdErr:

  open System
  ^

stdin(1,1): error FS0010: Unexpected character '�' in interaction

. ERRORLEVEL 1
Raw output
   at TestFramework.execStdin@605-1.Invoke(String x)
   at TestFramework.fsiStdin(TestConfig cfg, String stdinPath, String flags, FSharpList`1 sources) in D:\a\_work\1\s\tests\FSharp.Test.Utilities\TestFramework.fs:line 633
   at FSharp.Tests.Core.CoreTests.fsiAndModifiers() in D:\a\_work\1\s\tests\fsharp\tests.fs:line 496

Check failure on line 1 in FSharp.Tests.Core+CoreTests.fsiAndModifiers

See this annotation in the file changed.

@azure-pipelines azure-pipelines / fsharp-ci

FSharp.Tests.Core+CoreTests.fsiAndModifiers

Console input encoding is 'System.Text.UTF8Encoding', console is System.IO.TextReader+SyncTextReader. Child process redirects input? 'True'. 
StdOut:

Microsoft (R) F# Interactive version 15.2.100.0 for F# 11.0
Copyright (c) Microsoft Corporation. All Rights Reserved.

For help type #help;;

> 


StdErr:

  open System
  ^

stdin(1,1): error FS0010: Unexpected character '�' in interaction

. ERRORLEVEL 1
Raw output
   at TestFramework.execStdin@605-1.Invoke(String x)
   at TestFramework.fsiStdin(TestConfig cfg, String stdinPath, String flags, FSharpList`1 sources) in D:\a\_work\1\s\tests\FSharp.Test.Utilities\TestFramework.fs:line 633
   at FSharp.Tests.Core.CoreTests.fsiAndModifiers() in D:\a\_work\1\s\tests\fsharp\tests.fs:line 496