diff options
author | Brad King <brad.king@kitware.com> | 2021-01-14 21:17:56 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2021-03-16 20:47:55 (GMT) |
commit | eae2256a529250e4fda639a79a9edddef6604f12 (patch) | |
tree | 9f3dd3c486b0291c9e7e121196b3fb27b63bf5c5 /Tests/RunCMake/FileAPI | |
parent | a12d7f70b1b97f74293d9861a1827c88ef46ec39 (diff) | |
download | CMake-eae2256a529250e4fda639a79a9edddef6604f12.zip CMake-eae2256a529250e4fda639a79a9edddef6604f12.tar.gz CMake-eae2256a529250e4fda639a79a9edddef6604f12.tar.bz2 |
fileapi: Add backtraceGraph to codemodel-v2 "directory" object
Co-Authored-by: Kyle Edwards <kyle.edwards@kitware.com>
Diffstat (limited to 'Tests/RunCMake/FileAPI')
-rw-r--r-- | Tests/RunCMake/FileAPI/codemodel-v2-check.py | 4 |
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): |