diff options
author | Martin Schwenke <martin@meltin.net> | 2013-12-02 15:37:18 +1100 |
---|---|---|
committer | Michael Adam <obnox@samba.org> | 2013-12-05 00:46:04 +0100 |
commit | 318f2cf9123875acdef39d170cdbc6683a79e896 (patch) | |
tree | 7fa3c5e97cc98bcd6f05f76b463c76f871e873cb /lib/ntdb/test/python-api.py | |
parent | bbd46e8634f5db7631ce80a4b81781adf507a383 (diff) | |
download | samba-318f2cf9123875acdef39d170cdbc6683a79e896.tar.gz samba-318f2cf9123875acdef39d170cdbc6683a79e896.tar.xz samba-318f2cf9123875acdef39d170cdbc6683a79e896.zip |
ctdb/tests/scripts: Simplify the top-level test scripts
At the moment run_tests.sh has quite fragile argument processing. It
needs that annoying "--" between options and tests. The random
default (mktemp -d) for TEST_VAR_DIR is wrong and is worked around in
various places.
Instead:
* Change the default behaviour to print a summary, add new option -N
to turn off summary, and remove old -s option.
* Change the default behaviour to run integration tests with local
daemons, add new options -c to run on a cluster, remove old -l
option.
* Make $testdir/var the default if the tests are not installed, and
$(mktemp -d ) the default if tests are installed.
* Move the default tests for local/cluster into scripts/run_tests.
run_tests.sh (and the run_cluster_tests.sh symlink) should behave as
before but with slightly more reasonable defaults.
Signed-off-by: Martin Schwenke <martin@meltin.net>
Reviewed-by: Michael Adam <obnox@samba.org>
Diffstat (limited to 'lib/ntdb/test/python-api.py')
0 files changed, 0 insertions, 0 deletions