Skip to content

[llvm-lit] Expand and Rewrite Tests for FileNotFoundError for compiler-rt tests in lit internal shell #106111

Closed
@Harini0924

Description

@Harini0924

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

File "/usr/local/google/home/harinidonthula/llvm-project/llvm/utils/lit/lit/TestRunner.py", line 656, in processRedirects
    fd = open(redir_filename, mode)
         ^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: b'/usr/local/google/home/harinidonthula/llvm-project/build/runtimes/runtimes-bins/compiler-rt/test/profile/Profile-i386/Linux/(llvm-profdata'

Affected Tests:

  • -compiler-rt/test/profile/Linux/counter_promo_for.c
  • compiler-rt/test/profile/Linux/counter_promo_nest.c
  • compiler-rt/test/profile/Linux/counter_promo_while.c
  • compiler-rt/test/profile/Linux/instrprof-debug-info-correlate.c

These files need to be expanded to resolve the issue.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions