Set the exit code correctly in run-tests.py.