xonsh/run-tests.xsh

16 lines
331 B
Text
Raw Normal View History

#!/usr/bin/env xonsh
$RAISE_SUBPROC_ERROR = True
2018-12-06 08:17:48 -05:00
if 'TF_BUILD' in ${...}:
2018-12-06 08:33:26 -05:00
print('TF_BUILD', repr($TF_BUILD))
2018-12-06 08:17:48 -05:00
else:
print('TF_BUILD not found')
2018-12-05 19:17:26 -05:00
run_separately = [
'tests/test_ptk_highlight.py',
]
![pytest @($ARGS[1:]) --ignore @(run_separately)]
for fname in run_separately:
![pytest @($ARGS[1:]) @(fname)]