Skip to content

[SR-13754] Failure in SwiftREPL/RedirectInput.test on Linux #4329

Closed
@benrimmington

Description

@benrimmington
Previous ID SR-13754
Radar rdar://problem/70531607
Original Reporter @benrimmington
Type Bug
Status Resolved
Resolution Done

Attachment: Download

Environment

Ubuntu 16.04.6 LTS

Additional Detail from JIRA
Votes 0
Component/s LLDB for Swift
Labels Bug
Assignee None
Priority Medium

md5: 3bcdb2e6857236b3f3e64a9991ccce83

Issue Description:

There was a failure in lldb-shell :: SwiftREPL/RedirectInput.test on Linux.

I can see the files in my working copy, but I can't find them on GitHub.

The llvm-project/lldb/test/Shell/SwiftREPL/RedirectInput.test file contains:

Foo.foo()
// CHECK: ${{R0}}: String = "A"

The llvm-project/lldb/test/Shell/SwiftREPL/Inputs/A.swift file contains:

public class Foo {
  public static func foo() -> String  {
    print("A")
    return "A"
  }
}

The expected REPL output is intermixed with the print("A") output:

$R0: String =A
 "A"

I've attached the relevant part of the consoleText file from Swift CI.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions