[clang][modules] Don't prevent translation of FW_Private includes when explicitly...
[llvm-project.git] / lldb / test / Shell / Quit / expect_exit_code.py
blob436eb70406081871d68ca4286e522972dd05fa28
1 #!/usr/bin/env python
3 import subprocess
4 import sys
6 args = sys.argv
8 expected_exit_code = args[1]
10 args = args[2:]
11 print("Running " + (" ".join(args)))
12 real_exit_code = subprocess.call(args)
14 if str(real_exit_code) != expected_exit_code:
15 print("Got exit code %d but expected %s" % (real_exit_code, expected_exit_code))
16 exit(1)