[llvm] 445ea1e - [mlgo] only enable interactive mode tests on linux

Mircea Trofin via llvm-commits llvm-commits at lists.llvm.org
Fri Feb 3 19:58:26 PST 2023


Author: Mircea Trofin
Date: 2023-02-03T19:57:26-08:00
New Revision: 445ea1e77751246c0b53d78e531500c3d281c1d0

URL: https://github.com/llvm/llvm-project/commit/445ea1e77751246c0b53d78e531500c3d281c1d0
DIFF: https://github.com/llvm/llvm-project/commit/445ea1e77751246c0b53d78e531500c3d281c1d0.diff

LOG: [mlgo] only enable interactive mode tests on linux

`os.mkfifo` may not be supported everywhere (e.g. windows).

Added: 
    

Modified: 
    llvm/test/CodeGen/MLRegalloc/interactive-mode.ll
    llvm/test/Transforms/Inline/ML/interactive-mode.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/CodeGen/MLRegalloc/interactive-mode.ll b/llvm/test/CodeGen/MLRegalloc/interactive-mode.ll
index 141c24db12d8..51af5891c4e0 100644
--- a/llvm/test/CodeGen/MLRegalloc/interactive-mode.ll
+++ b/llvm/test/CodeGen/MLRegalloc/interactive-mode.ll
@@ -1,3 +1,4 @@
+; REQUIRES: x86_64-linux
 ; RUN: rm -rf %t.rundir
 ; RUN: rm -rf %t.channel-basename.*
 ; RUN: mkdir %t.rundir

diff  --git a/llvm/test/Transforms/Inline/ML/interactive-mode.ll b/llvm/test/Transforms/Inline/ML/interactive-mode.ll
index 55bde781945b..07f98352d5c3 100644
--- a/llvm/test/Transforms/Inline/ML/interactive-mode.ll
+++ b/llvm/test/Transforms/Inline/ML/interactive-mode.ll
@@ -1,3 +1,4 @@
+; REQUIRES: x86_64-linux
 ; RUN: rm -rf %t.rundir
 ; RUN: rm -rf %t.channel-basename.*
 ; RUN: mkdir %t.rundir


        


More information about the llvm-commits mailing list