[llvm] [llvm] Remove uses of %T in tests (PR #151621)
Aiden Grossman via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 1 07:48:50 PDT 2025
================
@@ -1,12 +1,13 @@
-RUN: dsymutil -oso-prepend-path %p/.. %p/../Inputs/swift-ast.macho.x86_64 -o %T/swift-ast.dSYM -verbose -no-swiftmodule-timestamp | FileCheck %s --check-prefix=DSYMUTIL
-RUN: dsymutil -oso-prepend-path %p/.. %p/../Inputs/swift-ast.macho.x86_64 -o %T/swift-ast.dSYM -verbose | FileCheck %s --check-prefix=DSYMUTIL
-RUN: llvm-readobj --sections --section-data %T/swift-ast.dSYM/Contents/Resources/DWARF/swift-ast.macho.x86_64 | FileCheck %s --check-prefix=READOBJ
-RUN: llvm-dwarfdump --show-section-sizes %T/swift-ast.dSYM/Contents/Resources/DWARF/swift-ast.macho.x86_64 | FileCheck %s --check-prefix=DWARFDUMP
+RUN: mkdir -p %t.dir
----------------
boomanaiden154 wrote:
I've done the suggested here and below. A lot of this seems to differ quite a bit across the monorepo and even within individual subprojects.
I've mostly omitted `rm -rf %t.dir` because the tests were already reusing `%T`. Maybe we should go in and clean that up at some point (and standardize the naming), but that's a much bigger cleanup.
https://github.com/llvm/llvm-project/pull/151621
More information about the llvm-commits
mailing list