add ctest scripts for cdash submission