This can probably be copied off the watchdog project. It should succeed if the project is lint free and tests pass and fail if either are not true.