Skip to content

coverage_inlined_counters_exec.swift currently fails on Linux & Windows #75240

Open
@hamishknight

Description

@hamishknight

On current main (08b4f3a), we somehow end up with a duplicate counter hit:

--
Exit Code: 1

Command Output (stdout):
--
/home/build-user/build/buildbot_linux/swift-linux-x86_64/test-linux-x86_64/Profiler/Output/coverage_inlined_counters_exec.swift.tmp/main

--
Command Output (stderr):
--
command line:1:22: error: CHECK-NOT: excluded string found in input
-implicit-check-not='{{[ ]*\|[ ]*[0-9]+}}'
                     ^
<stdin>:3:3: note: found here
 2| 2|public func foo() {}
  ^~~

Input file: <stdin>
Check file: /home/build-user/swift/test/Profiler/coverage_inlined_counters_exec.swift

-dump-input=help explains the following input dump.

Input was:
<<<<<<
          1: BUILD_DIR/test-linux-x86_64/Profiler/Output/coverage_inlined_counters_exec.swift.tmp/a.swift: 
          2:  1| |@_transparent 
          3:  2| 2|public func foo() {} 
not:imp1       !~~                       error: no match expected
          4:  3| |// CHECK: 1|public func foo() {} 
          5:  4| | 
          6:  
          7: BUILD_DIR/test-linux-x86_64/Profiler/Output/coverage_inlined_counters_exec.swift.tmp/b.swift: 
          8:  1| |import A 
          .
          .
          .
>>>>>>

--

Metadata

Metadata

Assignees

Labels

LinuxPlatform: LinuxWindowsPlatform: WindowsbugA deviation from expected or documented behavior. Also: expected but undesirable behavior.code coverageArea → source tooling: code coveragecompilerThe Swift compiler itself

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions