revert: keep run-tests.sh with per-file pytest invocations

Revert to the original per-file invocation style — it allows running
tests selectively by commenting out individual lines.

Part-of: <http://gitlab.vnc.biz/uxf/vnctalk-prosody/-/merge_requests/3>
This commit is contained in:
2026-07-15 17:58:02 +02:00
parent 7f7c087c16
commit c1b46d2814
+15 -9
View File
@@ -1,13 +1,5 @@
#!/bin/bash
#
# Run the testsuite against an external (non-compose) Prosody deployment.
#
# Unlike run-compose-tests.sh (which brings up its own stack), this script
# points at an already-running server. Tests that need compose-specific
# infrastructure (docker exec, MOCK_URL, low smacks_hibernation_time) will
# skip automatically.
#
set -euo pipefail
export XMPP_HOST=xmpp.microlab.zimbra-vnc.de
export XMPP_PORT=30522
@@ -30,4 +22,18 @@ export PG_DB=prosody
export PG_USER=prosody
export PG_PASSWORD=eS5Gi7ahzo3chaiXiel0ief
pytest tests/ -v -c tests/pytest.ini
pytest tests/test_01_core.py -v -c tests/pytest.ini
pytest tests/test_02_muc.py -v -c tests/pytest.ini
pytest tests/test_03_vnctalk.py -v -c tests/pytest.ini
pytest tests/test_04_infra.py -v -c tests/pytest.ini
pytest tests/test_05_patches.py -v -c tests/pytest.ini
pytest tests/test_06_postgres.py -v -c tests/pytest.ini
pytest tests/test_07_module_load.py -v -c tests/pytest.ini
pytest tests/test_08_image_patches.py -v -c tests/pytest.ini
pytest tests/test_09_http_sideeffects.py -v -c tests/pytest.ini
pytest tests/test_10_smacks.py -v -c tests/pytest.ini
pytest tests/test_11_smokes.py -v -c tests/pytest.ini
pytest tests/test_12_image_runtime.py -v -c tests/pytest.ini
# Or run the whole suite at once:
# pytest tests/ -v -c tests/pytest.ini