diff options
author | David Blaikie <dblaikie@gmail.com> | 2023-07-25 02:32:04 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2023-07-25 03:04:42 +0000 |
commit | dd84f5f91c6b234a2f188b6acf8557cae81b8a53 (patch) | |
tree | 5a0ceccfb39198ad95760e3bdd2721e1851e4c18 | |
parent | 27f0bf75df78d7439ad698c70e75bf138525db3e (diff) | |
download | llvm-dd84f5f91c6b234a2f188b6acf8557cae81b8a53.zip llvm-dd84f5f91c6b234a2f188b6acf8557cae81b8a53.tar.gz llvm-dd84f5f91c6b234a2f188b6acf8557cae81b8a53.tar.bz2 |
test/.../print-dot-dom.ll: Avoid writing to cwd of test by creating/cding into %t instead
The cwd of the test might not be writable.
-rw-r--r-- | llvm/test/Analysis/Dominators/print-dot-dom.ll | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/llvm/test/Analysis/Dominators/print-dot-dom.ll b/llvm/test/Analysis/Dominators/print-dot-dom.ll index faad5a6..f7d3ea9 100644 --- a/llvm/test/Analysis/Dominators/print-dot-dom.ll +++ b/llvm/test/Analysis/Dominators/print-dot-dom.ll @@ -1,3 +1,6 @@ +; RUN: rm -rf %t +; RUN: mkdir %t +; RUN: cd %t ; RUN: opt %s -passes=dot-dom -disable-output ; RUN: FileCheck %s -input-file=dom.test1.dot -check-prefix=TEST1 ; RUN: FileCheck %s -input-file=dom.test2.dot -check-prefix=TEST2 |