Open connieyzhu opened 3 months ago
@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 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.
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 inLLVM
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 runningLLVM
tests.This meta-issue tracks the following issues: Subprojects:
This is a comprehensive list of all the features to be implemented. Feature List:
102374
102383
102395
106594
106598
106601
102384
102389
102695
102382
102377
102696
102398
102397
102388
102401
102693
102399
102386
102380
102385
106142
106249
106302
106459
106627
This issue will help track the progress of enabling the lit internal shell across all LLVM subprojects.