[lld] 179d91b - [lld testing] Unbreak read-only source builds
David Zarzycki via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 6 04:15:03 PST 2020
Author: David Zarzycki
Date: 2020-11-06T07:13:55-05:00
New Revision: 179d91b376316ad94b9ec1fc8d132eb1aa703dbc
URL: https://github.com/llvm/llvm-project/commit/179d91b376316ad94b9ec1fc8d132eb1aa703dbc
DIFF: https://github.com/llvm/llvm-project/commit/179d91b376316ad94b9ec1fc8d132eb1aa703dbc.diff
LOG: [lld testing] Unbreak read-only source builds
Tests must not modify the source tree.
Added:
Modified:
lld/test/COFF/lto-new-pass-manager.ll
Removed:
################################################################################
diff --git a/lld/test/COFF/lto-new-pass-manager.ll b/lld/test/COFF/lto-new-pass-manager.ll
index b81e00f933b9..f7818923ac39 100644
--- a/lld/test/COFF/lto-new-pass-manager.ll
+++ b/lld/test/COFF/lto-new-pass-manager.ll
@@ -1,13 +1,13 @@
; REQUIRES: x86
-; RUN: llvm-as %s -o %s.obj
+; RUN: llvm-as %s -o %t.obj
-; RUN: lld-link %s.obj -entry:main -opt:ltonewpassmanager -opt:ltodebugpassmanager 2>&1 | FileCheck %s --check-prefix=ENABLED
+; RUN: lld-link %t.obj -entry:main -opt:ltonewpassmanager -opt:ltodebugpassmanager 2>&1 | FileCheck %s --check-prefix=ENABLED
; ENABLED: Starting llvm::Module pass manager run.
; ENABLED: Finished llvm::Module pass manager run.
; Passing -time just to avoid empty FileCheck input
-; RUN: lld-link %s.obj -entry:main -time -opt:ltonewpassmanager -opt:ltodebugpassmanager -opt:noltonewpassmanager 2>&1 | FileCheck %s --check-prefix=DISABLED
-; RUN: lld-link %s.obj -entry:main -time -opt:ltonewpassmanager -opt:ltodebugpassmanager -opt:noltodebugpassmanager 2>&1 | FileCheck %s --check-prefix=DISABLED
+; RUN: lld-link %t.obj -entry:main -time -opt:ltonewpassmanager -opt:ltodebugpassmanager -opt:noltonewpassmanager 2>&1 | FileCheck %s --check-prefix=DISABLED
+; RUN: lld-link %t.obj -entry:main -time -opt:ltonewpassmanager -opt:ltodebugpassmanager -opt:noltodebugpassmanager 2>&1 | FileCheck %s --check-prefix=DISABLED
; DISABLED-NOT: Starting llvm::Module pass manager run.
; DISABLED-NOT: Finished llvm::Module pass manager run.
More information about the llvm-commits
mailing list