[llvm] 0ec197a - [Orc][examples] Emit artifacts in test-specific output folder (NFC)
Stefan Gränitz via llvm-commits
llvm-commits at lists.llvm.org
Sun Nov 27 04:25:57 PST 2022
Author: Stefan Gränitz
Date: 2022-11-27T13:24:17+01:00
New Revision: 0ec197a30dadd1f639fe73786fa2da96af97affd
URL: https://github.com/llvm/llvm-project/commit/0ec197a30dadd1f639fe73786fa2da96af97affd
DIFF: https://github.com/llvm/llvm-project/commit/0ec197a30dadd1f639fe73786fa2da96af97affd.diff
LOG: [Orc][examples] Emit artifacts in test-specific output folder (NFC)
Added:
Modified:
llvm/test/Examples/OrcV2Examples/lljit-with-thinlto-summaries.test
Removed:
################################################################################
diff --git a/llvm/test/Examples/OrcV2Examples/lljit-with-thinlto-summaries.test b/llvm/test/Examples/OrcV2Examples/lljit-with-thinlto-summaries.test
index 21112b825ba5b..f8c336cc3dab4 100644
--- a/llvm/test/Examples/OrcV2Examples/lljit-with-thinlto-summaries.test
+++ b/llvm/test/Examples/OrcV2Examples/lljit-with-thinlto-summaries.test
@@ -1,14 +1,14 @@
-# RUN: opt -module-summary %p/Inputs/main-mod.ll -o main-mod.bc
-# RUN: opt -module-summary %p/Inputs/foo-mod.ll -o foo-mod.bc
-# RUN: opt -module-summary %p/Inputs/bar-mod.ll -o bar-mod.bc
+# RUN: opt -module-summary %p/Inputs/main-mod.ll -o %T/main-mod.bc
+# RUN: opt -module-summary %p/Inputs/foo-mod.ll -o %T/foo-mod.bc
+# RUN: opt -module-summary %p/Inputs/bar-mod.ll -o %T/bar-mod.bc
# REQUIRES: default_triple
-# RUN: llvm-lto -thinlto -o main-foo-bar main-mod.bc foo-mod.bc bar-mod.bc
+# RUN: llvm-lto -thinlto -o %T/main-foo-bar %T/main-mod.bc %T/foo-mod.bc %T/bar-mod.bc
-# RUN: LLJITWithThinLTOSummaries main-foo-bar.thinlto.bc 2>&1 | FileCheck %s
+# RUN: LLJITWithThinLTOSummaries %T/main-foo-bar.thinlto.bc 2>&1 | FileCheck %s
-# CHECK: About to load module: main-mod.bc
-# CHECK: About to load module: foo-mod.bc
-# CHECK: About to load module: bar-mod.bc
+# CHECK: About to load module: {{.*}}/main-mod.bc
+# CHECK: About to load module: {{.*}}/foo-mod.bc
+# CHECK: About to load module: {{.*}}/bar-mod.bc
# CHECK: 'main' finished with exit code: 0
More information about the llvm-commits
mailing list