| 1 |
|
| 2 |
|
| 3 |
|
| 4 |
all: stui del |
| 5 |
|
| 6 |
|
| 7 |
stui: |
| 8 |
pyinstaller s_tui/s_tui.py -F -n s-tui |
| 9 |
mv dist/s-tui . |
| 10 |
|
| 11 |
|
| 12 |
del: |
| 13 |
rm -rf ./s_tui/dist/ ./build/ ./s_tui/s*.spec ./s_tui/*.pyc ./s_tui/*.log s-tui.spec dist/ |
| 14 |
|
| 15 |
|
| 16 |
clean: |
| 17 |
pyinstaller --clean s-tui |
| 18 |
rm -rf ./s_tui/dist/ ./s_tui/build/ ./s_tui/s*.spec ./s_tui/*.pyc ./s_tui/*.log s-tui.spec dist/ |
| 19 |
|
| 20 |
debug: |
| 21 |
python -m s_tui.s_tui |
| 22 |
|
| 23 |
|
| 24 |
|
| 25 |
|
| 26 |
test: |
| 27 |
python -m pytest tests/ -m "not hardware" -v --tb=short |
| 28 |
|
| 29 |
|
| 30 |
test-hw: |
| 31 |
python -m pytest tests/ -m hardware -v --tb=short |
| 32 |
|
| 33 |
|
| 34 |
test-all: |
| 35 |
python -m pytest tests/ -v --tb=short |
| 36 |
|
| 37 |
|
| 38 |
test-k: |
| 39 |
python -m pytest tests/ -k "$(K)" -v --tb=short |
| 40 |
|
| 41 |
|
| 42 |
test-xfail: |
| 43 |
python -m pytest tests/test_psutil_failures.py::TestTempSourceFailures tests/test_runtime_disruption.py -v --tb=short |