Skip to content

[clang] pragma-comment.c test fails when developer's GitHub handle is dbartol #145453

@hideous-destructor

Description

@hideous-destructor

I've certainly had many encounters with tests that only fail on my machine, but this is the first time the test was specifically out to get me:

To repro

llvm-lit -v ./clang/test/CodeGen/pragma-comment.c

Actual result:

/Volumes/LocalData/Code/Public/bar/llvm-project/clang/test/CodeGen/pragma-comment.c:33:13: error: ELF-NOT: excluded string found in input
// ELF-NOT: bar
            ^
<stdin>:16:55: note: found here
!6 = !{!"clang version 21.0.0git (https://github.com/dbartol/llvm-project 97e8266172533fe9deb701a0851b442298f0f011)"}
                                                      ^~~

Input file: <stdin>
Check file: /Volumes/LocalData/Code/Public/bar/llvm-project/clang/test/CodeGen/pragma-comment.c

Expected result

Successful test

Activity

added
clangClang issues not falling into any other category
on Jun 24, 2025
AaronBallman

AaronBallman commented on Jun 24, 2025

@AaronBallman
Collaborator

It's pretty rare that I get a chuckle out of a bug report, but

I've certainly had many encounters with tests that only fail on my machine, but this is the first time the test was specifically out to get me:

definitely made me laugh. :-)

added a commit that references this issue on Jun 24, 2025
9e33cb2
added
clang:codegenIR generation bugs: mangling, exceptions, etc.
and removed
clangClang issues not falling into any other category
on Jun 24, 2025
llvmbot

llvmbot commented on Jun 24, 2025

@llvmbot
Member

@llvm/issue-subscribers-clang-codegen

Author: None (hideous-destructor)

I've certainly had many encounters with tests that only fail on my machine, but this is the first time the test was specifically out to get me:

To repro

llvm-lit -v ./clang/test/CodeGen/pragma-comment.c

Actual result:

/Volumes/LocalData/Code/Public/bar/llvm-project/clang/test/CodeGen/pragma-comment.c:33:13: error: ELF-NOT: excluded string found in input
// ELF-NOT: bar
            ^
&lt;stdin&gt;:16:55: note: found here
!6 = !{!"clang version 21.0.0git (https://github.com/dbartol/llvm-project 97e8266172533fe9deb701a0851b442298f0f011)"}
                                                      ^~~

Input file: &lt;stdin&gt;
Check file: /Volumes/LocalData/Code/Public/bar/llvm-project/clang/test/CodeGen/pragma-comment.c

Expected result

Successful test

added a commit that references this issue on Jun 24, 2025
ab3145b
added a commit that references this issue on Jun 26, 2025
b556372
added a commit that references this issue on Jul 1, 2025
ed2a22b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    clang:codegenIR generation bugs: mangling, exceptions, etc.confirmedVerified by a second partytest-suite

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      Participants

      @AaronBallman@EugeneZelenko@hideous-destructor@llvmbot

      Issue actions

        [clang] `pragma-comment.c` test fails when developer's GitHub handle is `dbartol` · Issue #145453 · llvm/llvm-project