diff --git a/lldb/test/lldb-dotest.in b/lldb/test/lldb-dotest.in index 69da3cf5b3d76b40be96dbba33eeec6db9be8c82..c6cd8cbe746ce50d1a7a53229aafb384120f5f9d 100755 --- a/lldb/test/lldb-dotest.in +++ b/lldb/test/lldb-dotest.in @@ -12,7 +12,5 @@ if __name__ == '__main__': cmd = [dotest_path, '-q'] cmd.extend(dotest_args) cmd.extend(wrapper_args) - # Invoke dotest.py - exit_code = subprocess.call(cmd) - if exit_code != 0: - sys.exit(exit_code) + # Invoke dotest.py and return exit code. + sys.exit(subprocess.call(cmd))