xonsh/run-tests.xsh
Anthony Scopatz b1f1143a96 tets fixes
2018-12-06 08:17:48 -05:00

15 lines
325 B
Text
Executable file

#!/usr/bin/env xonsh
$RAISE_SUBPROC_ERROR = True
if 'TF_BUILD' in ${...}:
print('TF_BUILD', $TF_BUILD)
else:
print('TF_BUILD not found')
run_separately = [
'tests/test_ptk_highlight.py',
]
![pytest @($ARGS[1:]) --ignore @(run_separately)]
for fname in run_separately:
![pytest @($ARGS[1:]) @(fname)]