diff options
Diffstat (limited to 'upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-glances')
| -rw-r--r-- | upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-glances/run-ptest | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-glances/run-ptest b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-glances/run-ptest new file mode 100644 index 0000000000..5903768942 --- /dev/null +++ b/upstream-layers/meta-openembedded/meta-python/recipes-devtools/python/python3-glances/run-ptest @@ -0,0 +1,6 @@ +#!/bin/sh + +# test_core.py does `GlancesMain(args_begin_at=2)` at module import time, +# slicing the real process sys.argv; passing --automake on the command line +# (rather than via PYTEST_ADDOPTS) shifts that slice and breaks it. +PYTEST_ADDOPTS="--automake" pytest tests/test_core.py |
