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:
+16
-10
@@ -1,16 +1,8 @@
|
|||||||
#!/bin/bash
|
#!/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_HOST=xmpp.microlab.zimbra-vnc.de
|
||||||
export XMPP_PORT=30522
|
export XMPP_PORT=30522
|
||||||
export XMPP_JID=lisa.porter@microlab.zimbra-vnc.de
|
export XMPP_JID=lisa.porter@microlab.zimbra-vnc.de
|
||||||
export XMPP_PASSWORD=q3tx65test
|
export XMPP_PASSWORD=q3tx65test
|
||||||
export XMPP_JID2=richard.watson@microlab.zimbra-vnc.de
|
export XMPP_JID2=richard.watson@microlab.zimbra-vnc.de
|
||||||
@@ -30,4 +22,18 @@ export PG_DB=prosody
|
|||||||
export PG_USER=prosody
|
export PG_USER=prosody
|
||||||
export PG_PASSWORD=eS5Gi7ahzo3chaiXiel0ief
|
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
|
||||||
|
|||||||
Reference in New Issue
Block a user