Skip to content

[llvm-lit] Attribute Error in lit internal shell #102399

@Harini0924

Description

@Harini0924

When using the internal shell with this command LIT_USE_INTERNAL_SHELL=1 an AttributeError is displayed.
Error displayed:

line 1096, in executeScriptInternal
    result.command.args[0] == "@echo"
    ^^^^^^^^^^^^^^^^^^^
AttributeError: 'Seq' object has no attribute 'args'

Fixed this issue by adding the REQUIRES: shell directive because these tests use features that run commands in the background with &, which is not supported with lit's internal shell.

Files with failures in BOLT:

  • bolt/test/permission.test

Files with failures in compiler-rt:

  • compiler-rt/test/fuzzer/fork-sigusr.test
  • compiler-rt/test/fuzzer/merge-sigusr.test
  • compiler-rt/test/fuzzer/sigint.test
  • compiler-rt/test/fuzzer/sigusr.test

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions