Skip to content

Conversation

@Ris-Bali
Copy link
Contributor

@Ris-Bali Ris-Bali commented Dec 22, 2025

This patch makes the ThinArchiveMissingMember.test case-insensitive this enables the test check to be platform agnostic.
Fixes: #623

This patch makes the `ThinArchiveMissingMember.test` case-insensitive
this enables the test check to be platform agnostic.

Signed-off-by: Rishabh Bali <[email protected]>
RUN: %ar cr %aropts --thin %t1.lib1.a %t1.1.o
RUN: %rm %t1.1.o
RUN: %not %link %linkopts -o %t1.main.out %t1.main.o %t1.lib1.a 2>&1 | %filecheck %s --check-prefix=ERROR
RUN: %not %link %linkopts -o %t1.main.out %t1.main.o %t1.lib1.a 2>&1 | %filecheck --ignore-case %s --check-prefix=ERROR
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why ignore-case ?

Copy link
Contributor Author

@Ris-Bali Ris-Bali Dec 31, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The LLVM diagnostic on Linux and windows has a case difference

On windows : ERROR: Fatal: LLVM: '{{.*}}1.o': No such file or directory
On linux : ERROR: Fatal: LLVM: '{{.*}}1.o': No such File or Directory

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Make test/Common/standalone/ThinArchivesMissingMember/ThinArchiveMissingMember.test LIT check windows compatible.

3 participants