[llvm] 31d2894 - Restrict llvm-ctxprof-util tests to linux (#100650)
    via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Thu Jul 25 13:29:11 PDT 2024
    
    
  
Author: Mircea Trofin
Date: 2024-07-25T16:29:08-04:00
New Revision: 31d289440b30365e0263fbeb8ce919fb4f35b636
URL: https://github.com/llvm/llvm-project/commit/31d289440b30365e0263fbeb8ce919fb4f35b636
DIFF: https://github.com/llvm/llvm-project/commit/31d289440b30365e0263fbeb8ce919fb4f35b636.diff
LOG: Restrict llvm-ctxprof-util tests to linux (#100650)
Follow up from PR #100379, this is to avoid output formatting
differences.
Added: 
    
Modified: 
    llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util-negative.test
    llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util.test
Removed: 
    
################################################################################
diff  --git a/llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util-negative.test b/llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util-negative.test
index 97598c11979fa..08c83c9f907fb 100644
--- a/llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util-negative.test
+++ b/llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util-negative.test
@@ -1,3 +1,5 @@
+; REQUIRES: x86_64-linux
+
 ; RUN: not llvm-ctxprof-util nofile.json 2>&1 | FileCheck %s --check-prefix=NO_CMD
 ; RUN: not llvm-ctxprof-util invalidCmd --input nofile.json 2>&1 | FileCheck %s --check-prefix=INVALID_CMD
 ; RUN: not llvm-ctxprof-util fromJSON nofile.json 2>&1 | FileCheck %s --check-prefix=NO_FLAG
diff  --git a/llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util.test b/llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util.test
index d430818d05442..5a21bffa59022 100644
--- a/llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util.test
+++ b/llvm/test/tools/llvm-ctxprof-util/llvm-ctxprof-util.test
@@ -1,3 +1,5 @@
+; REQUIRES: x86_64-linux
+
 ; RUN: mkdir -p %t
 ; RUN: llvm-ctxprof-util fromJSON --input %S/Inputs/empty.json -output %t/empty.bitstream
 ; RUN: llvm-bcanalyzer --dump %t/empty.bitstream | FileCheck %s --check-prefix=EMPTY
        
    
    
More information about the llvm-commits
mailing list