Skip to content

CI fails tests printing comma on Windows #672

@flukiluke

Description

@flukiluke

Describe the bug
#671 attempted to add a test case with the command Print "abc" , "def". This caused the test execution to hang indefinitely, but only on the Windows runners.

Initial analysis by @RhoSigma-QB64:

when redirected into a file, then it never writes the string after the comma, but is keep writing spaces into eternity instead, until you CTRL-C the process, what we can't do on the github runners.

To Reproduce
Likely reproduction, to be investigated.

$console:only
Print "abc", "def"

Compile & run on Windows. Redirect output to a file: test.exe > out.log.

Expected behavior
It should just write 5 spaces after "abc" to get to the next tab and then print "def". This works when output goes to the Windows cosole window but shows the described failure when output is redirected into a file.

Desktop (please complete the following information):

  • OS: Windows (all runners x86, x64, arm64), also manually confirmed on a Win7-x64 system by @RhoSigma-QB64
  • Version latest main

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions