test cases/common/186 test depends/test.py
raw| 1 | #!/usr/bin/env python3 |
| 2 | |
| 3 | import os |
| 4 | import os.path |
| 5 | import sys |
| 6 | |
| 7 | |
| 8 | def main(): |
| 9 | print('Looking in:', os.getcwd()) |
| 10 | not_found = list() |
| 11 | for f in sys.argv[1:]: |
| 12 | if not os.path.exists(f): |
| 13 | not_found.append(f) |
| 14 | if not_found: |
| 15 | print('Not found:', ', '.join(not_found)) |
| 16 | sys.exit(1) |
| 17 | |
| 18 | |
| 19 | if __name__ == '__main__': |
| 20 | main() |