From a4f7668e80e48749c53f1c1574670eea761f082e Mon Sep 17 00:00:00 2001 From: Raffi Khatchadourian Date: Thu, 30 Nov 2023 13:16:37 -0500 Subject: [PATCH] Remove CG dump. --- .../com/ibm/wala/cast/python/test/TestCallables.java | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/com.ibm.wala.cast.python.test/source/com/ibm/wala/cast/python/test/TestCallables.java b/com.ibm.wala.cast.python.test/source/com/ibm/wala/cast/python/test/TestCallables.java index e3c656125..17ac6c2c1 100644 --- a/com.ibm.wala.cast.python.test/source/com/ibm/wala/cast/python/test/TestCallables.java +++ b/com.ibm.wala.cast.python.test/source/com/ibm/wala/cast/python/test/TestCallables.java @@ -2,8 +2,6 @@ import static org.junit.Assert.assertTrue; -import com.ibm.wala.cast.python.client.PythonAnalysisEngine; -import com.ibm.wala.cast.python.ipa.callgraph.PythonSSAPropagationCallGraphBuilder; import com.ibm.wala.ipa.callgraph.CGNode; import com.ibm.wala.ipa.callgraph.CallGraph; import com.ibm.wala.ipa.cha.ClassHierarchyException; @@ -30,14 +28,7 @@ public void testCallables() }; for (String fileName : testFileNames) { - PythonAnalysisEngine E = makeEngine(fileName); - PythonSSAPropagationCallGraphBuilder B = E.defaultCallGraphBuilder(); - CallGraph CG = B.makeCallGraph(B.getOptions()); - - CAstCallGraphUtil.AVOID_DUMP = false; - CAstCallGraphUtil.dumpCG( - (SSAContextInterpreter) B.getContextInterpreter(), B.getPointerAnalysis(), CG); - + CallGraph CG = process(fileName); boolean found = false; for (CGNode node : CG) {