Author: Arthur Eubanks
Date: 2020-11-23T11:48:59-08:00
New Revision: 9e9d9aba147561f4463d27a9570c99937d53563b

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

LOG: [test] Pin tests using -dot-callgraph to legacy PM

-dot-callgraph is not ported to the NPM yet. It can be ported at a later
time if necessary.

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

Added: 
    

Modified: 
    llvm/test/Other/heat-colors-graphs.ll
    llvm/test/Other/heat-colors-multigraph.ll

Removed: 
    


################################################################################
diff  --git a/llvm/test/Other/heat-colors-graphs.ll 
b/llvm/test/Other/heat-colors-graphs.ll
index 4cc58a640cd5..cf19820c4ff0 100644
--- a/llvm/test/Other/heat-colors-graphs.ll
+++ b/llvm/test/Other/heat-colors-graphs.ll
@@ -1,6 +1,6 @@
-; RUN: opt < %s -dot-cfg -cfg-heat-colors -cfg-dot-filename-prefix=%t 
2>/dev/null
+; RUN: opt %s -dot-cfg -cfg-heat-colors -cfg-dot-filename-prefix=%t 
-disable-output
 ; RUN: FileCheck %s -input-file=%t.f.dot --check-prefixes=CHECK-CFG,CHECK-BOTH
-; RUN: opt %s -dot-callgraph -callgraph-heat-colors 
-callgraph-dot-filename-prefix=%t 2>/dev/null
+; RUN: opt -enable-new-pm=0 %s -dot-callgraph -callgraph-heat-colors 
-callgraph-dot-filename-prefix=%t -disable-output
 ; RUN: FileCheck %s -input-file=%t.callgraph.dot --check-prefix=CHECK-BOTH
 
 ; CHECK-BOTH: color="#{{[(a-z)(0-9)]+}}", style={{[a-z]+}}, 
fillcolor="#{{[(a-z)(0-9)]+}}"

diff  --git a/llvm/test/Other/heat-colors-multigraph.ll 
b/llvm/test/Other/heat-colors-multigraph.ll
index a951ec29a194..4aab4f4ba06c 100644
--- a/llvm/test/Other/heat-colors-multigraph.ll
+++ b/llvm/test/Other/heat-colors-multigraph.ll
@@ -1,6 +1,6 @@
-; RUN: opt %s -dot-callgraph -callgraph-multigraph 
-callgraph-dot-filename-prefix=%t 2>/dev/null
+; RUN: opt -enable-new-pm=0 %s -dot-callgraph -callgraph-multigraph 
-callgraph-dot-filename-prefix=%t -disable-output
 ; RUN: FileCheck %s -input-file=%t.callgraph.dot 
--check-prefix=CHECK-MULTIGRAPH
-; RUN: opt %s -dot-callgraph -callgraph-dot-filename-prefix=%t 2>/dev/null
+; RUN: opt -enable-new-pm=0 %s -dot-callgraph 
-callgraph-dot-filename-prefix=%t -disable-output
 ; RUN: FileCheck %s -input-file=%t.callgraph.dot --check-prefix=CHECK
 
 ; CHECK-MULTIGRAPH: {external caller}


        
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to