[InstCombine] Signed saturation patterns
[llvm-core.git] / utils / lit / tests / Inputs / shtest-shell / check_args.py
blob2f7a2503b97625bb166b02da59036599f4d28e16
1 #!/usr/bin/env python
3 import argparse
4 import platform
6 parser = argparse.ArgumentParser()
7 parser.add_argument("--my_arg", "-a")
9 args = parser.parse_args()
11 answer = (platform.system() == "Windows" and
12 args.my_arg == "/dev/null" and "ERROR") or "OK"
14 print(answer)