From 977c6f786710770d4a673c1200b0c08ca25fe13c Mon Sep 17 00:00:00 2001 From: Paul Robinson Date: Thu, 15 Dec 2022 14:49:20 -0800 Subject: [mlir] Convert tests to check 'target=...' Part of the project to eliminate special handling for triples in lit expressions. --- mlir/test/Examples/Toy/Ch6/jit.toy | 2 +- mlir/test/Examples/Toy/Ch7/jit.toy | 2 +- mlir/test/Examples/standalone/test.toy | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'mlir/test/Examples') diff --git a/mlir/test/Examples/Toy/Ch6/jit.toy b/mlir/test/Examples/Toy/Ch6/jit.toy index 387c045..c5be603 100644 --- a/mlir/test/Examples/Toy/Ch6/jit.toy +++ b/mlir/test/Examples/Toy/Ch6/jit.toy @@ -1,5 +1,5 @@ # RUN: toyc-ch6 -emit=jit %s -# UNSUPPORTED: windows +# UNSUPPORTED: target={{.*windows.*}} def main() { print([[1, 2], [3, 4]]); diff --git a/mlir/test/Examples/Toy/Ch7/jit.toy b/mlir/test/Examples/Toy/Ch7/jit.toy index 5310031..82469c7 100644 --- a/mlir/test/Examples/Toy/Ch7/jit.toy +++ b/mlir/test/Examples/Toy/Ch7/jit.toy @@ -1,5 +1,5 @@ # RUN: toyc-ch7 -emit=jit %s -# UNSUPPORTED: windows +# UNSUPPORTED: target={{.*windows.*}} def main() { print([[1, 2], [3, 4]]); diff --git a/mlir/test/Examples/standalone/test.toy b/mlir/test/Examples/standalone/test.toy index 3f5c5cb..0815729 100644 --- a/mlir/test/Examples/standalone/test.toy +++ b/mlir/test/Examples/standalone/test.toy @@ -8,4 +8,4 @@ # Note: The number of checked tests is not important. The command will fail # if any fail. # CHECK: Passed -# UNSUPPORTED: windows, android +# UNSUPPORTED: target={{.*(windows|android).*}} -- cgit v1.1