Skip to content

Commit

Permalink
[SystemZ][z/OS] fix sample-split-layout.test on z/OS (llvm#109679)
Browse files Browse the repository at this point in the history
The Lit in subject fails on z/OS since the input file
`Inputs/split-layout.profdata` is marked as ASCII even though it is
binary and the output file `Output/sample-split-layout.test.tmp-output`
is binary.

This PR removes the diff command which fails because it compares a
binary file and a text file. The rational is that this diff command
seems to be redundant to the `FileCheck` on the next command.
  • Loading branch information
zibi2 authored Oct 8, 2024
1 parent 6e5d612 commit 388c693
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion llvm/test/tools/llvm-profdata/sample-split-layout.test
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
RUN: llvm-profdata merge --sample --extbinary --split-layout %p/Inputs/sample-profile.proftext -o %t-output
RUN: diff %t-output %p/Inputs/split-layout.profdata

RUN: llvm-profdata merge --sample --text --split-layout %t-output | FileCheck %s
CHECK: main:184019:0
Expand Down

0 comments on commit 388c693

Please sign in to comment.