[llvm] a70d310 - [MLGO] Disable mlgo-utils tests on Windows builders
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Sat Jan 20 19:55:45 PST 2024
Author: Aiden Grossman
Date: 2024-01-21T03:54:25Z
New Revision: a70d3101ba786b76f1796c2c2ac5fe469e9a57bd
URL: https://github.com/llvm/llvm-project/commit/a70d3101ba786b76f1796c2c2ac5fe469e9a57bd
DIFF: https://github.com/llvm/llvm-project/commit/a70d3101ba786b76f1796c2c2ac5fe469e9a57bd.diff
LOG: [MLGO] Disable mlgo-utils tests on Windows builders
This patch disables the mlgo-utils tests on Windows builders. MLGO is
not currently supported on Windows.
These tests were failing as some of them look for specific file paths
and the path conventions are different between Linux and Windows.
Added:
Modified:
llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_test.py
llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py
Removed:
################################################################################
diff --git a/llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_test.py b/llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_test.py
index 4b36bf7742312e4..4965a63ac2ae78f 100644
--- a/llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_test.py
+++ b/llvm/utils/mlgo-utils/tests/corpus/combine_training_corpus_test.py
@@ -1,4 +1,4 @@
-# REQUIRES: python-38
+# REQUIRES: python-38, system-linux
## Test the functionality of combine_training_corpus_lib
diff --git a/llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py b/llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
index b22960556c99e59..5ee0762a551a587 100644
--- a/llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
+++ b/llvm/utils/mlgo-utils/tests/corpus/extract_ir_test.py
@@ -1,4 +1,4 @@
-# REQUIRES: python-38
+# REQUIRES: python-38, system-linux
## Test the functionality of extract_ir_lib
diff --git a/llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py b/llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py
index d8b8ba1e67c37fc..0a2246f4572d359 100644
--- a/llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py
+++ b/llvm/utils/mlgo-utils/tests/corpus/make_corpus_test.py
@@ -1,4 +1,4 @@
-# REQUIRES: python-38
+# REQUIRES: python-38, system-linux
## Test the functionality of make_corpus_lib
More information about the llvm-commits
mailing list