(path)
| 90 | build_flags.append(define) |
| 91 | |
| 92 | def parse_flags(path): |
| 93 | global build_flags |
| 94 | global json_flags |
| 95 | try: |
| 96 | with open(path, "r") as _f: |
| 97 | for define in _f: |
| 98 | define = define.strip() |
| 99 | process_build_flag(define) |
| 100 | process_json_flag(define) |
| 101 | |
| 102 | except IOError: |
| 103 | print("File '%s' does not exist" % path) |
| 104 | |
| 105 | def process_flags(path): |
| 106 | global build_flags |
no test coverage detected