summaryrefslogtreecommitdiffstats
path: root/Tests/RunCMake/FileAPI
diff options
context:
space:
mode:
Diffstat (limited to 'Tests/RunCMake/FileAPI')
-rw-r--r--Tests/RunCMake/FileAPI/codemodel-v2-check.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/Tests/RunCMake/FileAPI/codemodel-v2-check.py b/Tests/RunCMake/FileAPI/codemodel-v2-check.py
index 0e5b3b9..900faf9 100644
--- a/Tests/RunCMake/FileAPI/codemodel-v2-check.py
+++ b/Tests/RunCMake/FileAPI/codemodel-v2-check.py
@@ -98,11 +98,13 @@ def check_directory(c):
d = json.load(f)
assert is_dict(d)
- assert sorted(d.keys()) == ["paths"]
+ assert sorted(d.keys()) == ["backtraceGraph", "paths"]
assert is_string(d["paths"]["source"], actual["source"])
assert is_string(d["paths"]["build"], actual["build"])
+ check_backtrace_graph(d["backtraceGraph"])
+
return _check
def check_backtrace_graph(btg):