summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Potchik <brian@vector35.com>2020-11-22 22:30:42 -0500
committerBrian Potchik <brian@vector35.com>2020-11-22 22:30:42 -0500
commitefd35023dde49919c2f5549d5b5d3d2d6a31b1e0 (patch)
tree8c7aa5f31438590258493878dfd884a729e19719
parent2b8bfbea9493cd8742ca08b96ea8db02481dfc7a (diff)
Fix unit test ongoing analysis message.
-rw-r--r--suite/testcommon.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/suite/testcommon.py b/suite/testcommon.py
index 79581d79..091f967c 100644
--- a/suite/testcommon.py
+++ b/suite/testcommon.py
@@ -1115,6 +1115,7 @@ class VerifyBuilder(Builder):
bv.functions[0].set_comment(bv.functions[0].start, "Function start")
bv.commit_undo_actions()
+ bv.update_analysis_and_wait()
comments = self.get_comments(bv)
functions = self.get_functions(bv)
@@ -1126,6 +1127,7 @@ class VerifyBuilder(Builder):
bv.create_user_function(bv.start)
bv.commit_undo_actions()
+ bv.update_analysis_and_wait()
bv.create_database(temp_name)
with binja.FileMetadata(temp_name).open_existing_database(temp_name).get_view_of_type('ELF') as bv: