Skip to content

Commit 676314a

Browse files
[MLIR] Remove uses of %T from lit tests (#150725)
%T has been deprecated for about seven years and is to be avoided given it does not use a unique dir per test. Remove it from lit tests in MLIR with the eventual goal to be removing support within llvm-lit. This patch just reuses %t.o given it is deleted in between sections of the test.
1 parent e4d5969 commit 676314a

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

mlir/test/mlir-runner/simple.mlir

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
// RUN: ls %t.o
1616
// RUN: rm %t.o
1717

18-
// RUN: mlir-runner %s -dump-object-file -object-filename=%T/test.o \
18+
// RUN: mlir-runner %s -dump-object-file -object-filename=%t.o \
1919
// RUN: %if target={{s390x-.*}} %{ -argext-abi-check=false %} | FileCheck %s
20-
// RUN: ls %T/test.o
21-
// RUN: rm %T/test.o
20+
// RUN: ls %t.o
21+
// RUN: rm %t.o
2222

2323
// Declarations of C library functions.
2424
llvm.func @logbf(f32) -> f32

0 commit comments

Comments
 (0)