CI systems like Green Dragon should use this script so as to make reproducing errors easy locally. llvm-svn: 350740