[llvm] 388c693 - [SystemZ][z/OS] fix sample-split-layout.test on z/OS (#109679)

via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 8 06:28:15 PDT 2024


Author: Zibi Sarbinowski
Date: 2024-10-08T09:28:11-04:00
New Revision: 388c693a619cd84cff838e5cada17d70bed222cc

URL: https://github.com/llvm/llvm-project/commit/388c693a619cd84cff838e5cada17d70bed222cc
DIFF: https://github.com/llvm/llvm-project/commit/388c693a619cd84cff838e5cada17d70bed222cc.diff

LOG: [SystemZ][z/OS] fix sample-split-layout.test on z/OS (#109679)

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.

Added: 
    

Modified: 
    llvm/test/tools/llvm-profdata/sample-split-layout.test

Removed: 
    


################################################################################
diff  --git a/llvm/test/tools/llvm-profdata/sample-split-layout.test b/llvm/test/tools/llvm-profdata/sample-split-layout.test
index a1927c80b2e29b..51091e9f25c02d 100644
--- a/llvm/test/tools/llvm-profdata/sample-split-layout.test
+++ b/llvm/test/tools/llvm-profdata/sample-split-layout.test
@@ -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


        


More information about the llvm-commits mailing list