9
by Aaron Bentley
Start supporting testing. |
1 |
#!/usr/bin/env python
|
2 |
import sys |
|
3 |
import subprocess |
|
4 |
if len(sys.argv) > 1: |
|
5 |
assert sys.argv[1] == '--load-list' |
|
6 |
specs = open(sys.argv[2]).read().splitlines() |
|
7 |
else: |
|
8 |
specs = ['the_kraken.tests'] |
|
9 |
subprocess.call(['trial', '--reporter=subunit'] + specs) |