Add a check to runtest to avoid listing CMake files