Skip to content

[llvm-lit] Unhashable TypeError 'GlobItem' with lit’s internal shell #102389

Closed
@Harini0924

Description

@Harini0924

The RUN: lines in the long-object-path.cpp file are encountering unhashable type errors for GlobItem instances. This issue occurs due to improper handling of GlobItem instances within the test execution logic, specifically in the _executeShCmd function in lit's TestRunner.py.
The error is encountered in the TestRunner.py file, specifically within the _executeShCmd function at line 770:
inproc_builtin = inproc_builtins.get(args[0], None)

Error Displayed:

inproc_builtin = inproc_builtins.get(args[0], None)
                     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
TypeError: unhashable type: 'GlobItem'```

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions