https://github.com/Kitware/CMake
Raw File
Tip revision: 96541918c88c9a1647b44fbe07ca7d50e821a98a authored by Brad King on 16 July 2019, 11:08:05 UTC
CMake 3.14.6
Tip revision: 9654191
Empty-check.py
from check_index import *

def check_reply(r):
    assert is_dict(r)
    assert sorted(r.keys()) == []

def check_objects(o):
    assert is_list(o)
    assert len(o) == 0

assert is_dict(index)
assert sorted(index.keys()) == ["cmake", "objects", "reply"]
check_cmake(index["cmake"])
check_reply(index["reply"])
check_objects(index["objects"])
back to top