Exit with a proper return code in runtests.sh.