(tool, cmd, doContinue=False)
| 145 | |
| 146 | ## TODO: need to improve this. Quotes, etc. |
| 147 | def runcmd(tool, cmd, doContinue=False): |
| 148 | if(options.toolpath): |
| 149 | cmd = os.path.join(options.toolpath, tool) + " " + cmd |
| 150 | else: |
| 151 | cmd = tool + " " + cmd |
| 152 | |
| 153 | if(options.verbose>4): |
| 154 | print("# " + cmd) |
| 155 | |
| 156 | rc = os.system(cmd) |
| 157 | if rc != 0 and not doContinue: |
| 158 | print("FAILED: %s" % cmd) |
| 159 | sys.exit(1) |
| 160 | return rc |
| 161 | |
| 162 | ## STEP 0 - read in json config |
| 163 | with io.open(options.filterfile, encoding='utf-8') as fi: |
no test coverage detected
searching dependent graphs…