Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[llvm-lit] Enable lit internal shell by default #102704

Open
5 of 14 tasks
connieyzhu opened this issue Aug 9, 2024 · 2 comments
Open
5 of 14 tasks

[llvm-lit] Enable lit internal shell by default #102704

connieyzhu opened this issue Aug 9, 2024 · 2 comments
Labels
metabug Issue to collect references to a group of similar or related issues. test-suite

Comments

@connieyzhu
Copy link
Contributor

connieyzhu commented Aug 9, 2024

This is a meta-issue that addresses the problem referenced in [RFC] Enabling the Lit Internal Shell by Default.

Brief problem summary:
Many RUN line commands used in LLVM tests are written in a way that only works on POSIX-compliant shells, leading to issues on platforms like Windows or non-POSIX systems. To overcome these discrepancies, lit has an internal shell implementation designed to ensure uniform execution of these commands, regardless of the platform. Although the internal shell supports most common commands, it still lacks several capabilities that are necessary for it to become the default shell when running LLVM tests.

This meta-issue tracks the following issues:
Subprojects:

Missing Capabilities Blocking Enablement:

Missing Capabilities Blocking Enablement:

Missing Capabilities Blocking Enablement:

Missing Capabilities Blocking Enablement:

Missing Capabilities Blocking Enablement:

Missing Capabilities Blocking Enablement:

Missing Capabilities Blocking Enablement:

  • Enable internal shell for mlir test suite (already the default)
  • Enable internal shell for flang test suite
  • Enable internal shell for libc test suite
  • Enable internal shell for libcxx test suite (already the default)
  • Enable internal shell for libunwind test suite (already the default)
  • Enable internal shell for libcxxabi test suite (already the default)

This is a comprehensive list of all the features to be implemented.
Feature List:

This issue will help track the progress of enabling the lit internal shell across all LLVM subprojects.

@EugeneZelenko EugeneZelenko added metabug Issue to collect references to a group of similar or related issues. test-suite and removed new issue labels Aug 9, 2024
connieyzhu added a commit that referenced this issue Aug 27, 2024
…05704)

This patch sets lit's internal shell to be the default shell when
running polly tests.

This is one of the milestones to resolving the meta-issue:
#102704.
5c4lar pushed a commit to 5c4lar/llvm-project that referenced this issue Aug 29, 2024
…vm#105704)

This patch sets lit's internal shell to be the default shell when
running polly tests.

This is one of the milestones to resolving the meta-issue:
llvm#102704.
@connieyzhu
Copy link
Contributor Author

@ldionne Hi there, it seems like libcxx in LLVM uses lit's internal shell as the default shell for running lit tests. Can you confirm if this is accurate?

@ldionne
Copy link
Member

ldionne commented Aug 30, 2024

@ldionne Hi there, it seems like libcxx in LLVM uses lit's internal shell as the default shell for running lit tests. Can you confirm if this is accurate?

Yes, that's right. We made the transition some time ago (maybe 1-3 years) and haven't looked back.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
metabug Issue to collect references to a group of similar or related issues. test-suite
Projects
None yet
Development

No branches or pull requests

3 participants