[llvm] c59822c - [NFC][ORC] Fix lljit-with-thinlto-summaries.test output ordering issue

Filipp Zhinkin via llvm-commits llvm-commits at lists.llvm.org
Tue Nov 29 07:15:55 PST 2022


Author: Filipp Zhinkin
Date: 2022-11-29T18:15:45+03:00
New Revision: c59822cd1a489837dcf0a112bfa51e9059bb36ce

URL: https://github.com/llvm/llvm-project/commit/c59822cd1a489837dcf0a112bfa51e9059bb36ce
DIFF: https://github.com/llvm/llvm-project/commit/c59822cd1a489837dcf0a112bfa51e9059bb36ce.diff

LOG: [NFC][ORC] Fix lljit-with-thinlto-summaries.test output ordering issue

Use CHECK-DAG to check module names that printed in order depending
on full file path.

Related issue: https://github.com/llvm/llvm-project/issues/59248

Reviewed By: sgraenitz

Differential Revision: https://reviews.llvm.org/D138913

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 f8c336cc3dab4..ec4c8dd421430 100644
--- a/llvm/test/Examples/OrcV2Examples/lljit-with-thinlto-summaries.test
+++ b/llvm/test/Examples/OrcV2Examples/lljit-with-thinlto-summaries.test
@@ -9,6 +9,6 @@
 # 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-DAG: About to load module: {{.*}}/foo-mod.bc
+# CHECK-DAG: About to load module: {{.*}}/bar-mod.bc
 # CHECK: 'main' finished with exit code: 0


        


More information about the llvm-commits mailing list