Invocation: shell ci-runtests [-k] <tests.d dir> <connect string...>
Event flow:
- System users the <connect string...> to connect to the live VPS, fails if it can not.
- System executes every script in <tests.d dir> in alpabetical order, collecting the results.
- If test script fails and no -k switch (same as in make -k) specified, system stops test run.
- System stores the stdout and strerr of test run in the database and dumps the overview (list of scripts run and their result) to stdout for further consumption (e.g. for ci-runtests ... | mail email@report invocation}}}
Timing: less than 1m for simple 'ls' test
Tests:
- VPS is not alive.
- No tests
- Test fails and no -k switch specified
- Test fail and -k switch specified
- Success test